-
Notifications
You must be signed in to change notification settings - Fork 1
/
multitool.html
527 lines (515 loc) · 21.8 KB
/
multitool.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>NMS Wiki Page Creator - Multi-Tool</title>
<meta name="application-name" content="NMS Wiki Page Creator">
<meta name="description"
content="Easily generate the wikicode to create a multi-tool discovery page on the No Man's Sky Wiki!">
<meta name="theme-color" content="#280033">
<meta name="keywords" content="No Man's Sky, NMS, Wiki, Fandom, Lenni, Page Creator, Multi-Tool">
<script src="./src/pages/multitool" type="module"></script>
</head>
<body>
<div class="container">
<nav><a href="./" title="Main page">← Return to main page</a></nav>
<h1 class="title is-3">NMS Wiki Page Creator - Multi-Tool</h1>
<dialog id="explanation" class="modal-content content"></dialog>
<main class="columns is-desktop">
<div id="input" class="column is-full-mobile">
<div class="table">
<div class="table-cell text">
<label for="nameInput">Name of the multi-tool:</label>
<button class="tooltip">
<data>Enter exactly as seen in game. Watch out for 0 (zero) and O (o).</data>
<data>Multi-Tool Name</data>
<data>Enter exactly as seen in game. Watch out for 0 (zero) and O (o).</data>
<data>mt/MTName</data>
</button>
</div>
<div class="table-cell data">
<input type="text" data-dest="name" id="nameInput">
</div>
<div class="table-cell text">
<label for="hubnameInput">Claimed by which civilized space:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest="hubname" id="hubnameInput">
</div>
<div class="table-cell text">
<label for="fileInput">Main image name, including file extension:</label>
<button class="tooltip" name="fileUploadTooltip">
<data>Picture won't be uploaded to the wiki. This is only to autofill the image name.</data>
<data>File Upload</data>
<data>
Any pictures you upload here won't be uploaded to the wiki. This is only to autofill the
image name. Maximum filesize is 10MB.
You can upload your pictures to the wiki on <a href="Special:Upload?multiple=true"
data-wiki>Special:Upload</a>
<iframe src="https://nmscd.com/Image-Compressor/" title="Image Compressor"
class="explanation-embed" width="450" height="300">Image Compressor</iframe>
</data>
</button>
</div>
<div class="table-cell data">
<input type="text" id="fileInput" data-dest="image" data-default="NmsMisc_NotAvailable.png">
<input type="file" id="fileUpload" accept="image/*">
</div>
<div class="table-cell text">
<label>Type of the multi-tool:</label>
<button class="tooltip">
<data>MT Type is can be seen in the comparison screen.</data>
<data>Multi-Tool Type</data>
<data>The Multi-Tool type can be seen in the comparison screen before buying.</data>
<data>mt/MTType</data>
</button>
</div>
<div class="table-cell data">
<select id="typeInput" data-dest="type">
<option value="Pistol">Pistol</option>
<option value="Rifle">Rifle</option>
<option value="Experimental">Experimental</option>
<option value="Alien">Alien</option>
<option value="Royal">Royal</option>
<option value="Sentinel">Sentinel</option>
<option value="Atlantid">Atlantid</option>
</select>
</div>
<div class="table-cell text">
<label>Subtype of the multi-tool:</label>
<button class="tooltip">
<data>MT subtype is defined by the shape of the tool.</data>
<data>Multi-Tool Subtype</data>
<data>The Multi-Tool subtype is defined by the shape of the tool.</data>
<data>mt/MultitoolDifferentiation</data>
</button>
</div>
<div class="table-cell data">
<select id="subtypeInput" data-dest-noauto="subtype">
</select>
</div>
<div class="table-cell text">
<label for="galaxyInput">Name of the galaxy:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest="galaxy" id="galaxyInput">
</div>
<div class="table-cell text">
<label for="systemInput">Name of the system:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest="system" id="systemInput">
</div>
<div class="table-cell text">
<label for="regionInput">Name of the region where the system is located:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest="region" id="regionInput">
</div>
<div class="table-cell text">
<label>Location:</label>
<button class="tooltip">
<data>Where the tool was found.</data>
</button>
</div>
<div class="table-cell data">
<select id="locInput" data-dest="location">
<option value="Minor Settlement">Minor Settlement</option>
<option value="Space Station">Space Station</option>
<option value="Sentinel Pillar">Sentinel Pillar</option>
<option value="Harmonic Camp">Harmonic Camp</option>
<option value="Monolith">Monolith</option>
<option value="Space Anomaly">Space Anomaly</option>
</select>
</div>
<div class="table-cell text">
<label for="planetInput">Name of the planet:</label>
<button class="tooltip">
<data>Planet Name OR the planet circled by the moon where the tool can be found.</data>
</button>
</div>
<div class="table-cell data">
<input type="text" data-dest="planet" id="planetInput">
</div>
<div class="table-cell text">
<label for="moonInput">Name of the moon (if MT is on moon):</label>
<button class="tooltip">
<data>If the tool is located on a moon. Leave blank if the tool is on a planet.</data>
</button>
</div>
<div class="table-cell data">
<input type="text" data-dest="moon" id="moonInput">
</div>
<div class="table-cell text">
<label for="axesInput">Planetary coords:</label>
<button class="tooltip">
<data>Found using your analysis visor OR on your ship's dashboard.</data>
<data>Planetary Coordinates</data>
<data>Found using your analysis visor OR on your ship's dashboard.</data>
<data>shared/axes</data>
</button>
</div>
<div class="table-cell data">
<input type="text" placeholder="+0.00, -0.00" data-dest="axes" id="axesInput">
</div>
<div class="table-cell text">
<label>Save/reload location type:</label>
<button class="tooltip">
<data>Where you have to reload in order to get the tool to load.</data>
<data>Save/Reload Location</data>
<data>
Where you have to reload in order to get the tool to load.<br>
If you are unsure what this means, please read this
<a href="https://www.reddit.com/r/NMSGlyphExchange/comments/zmp26o/multitool_spawning_mechanicshunting_guide_by/">guide on
multi-tool spawning mechanics</a>.
</data>
</button>
</div>
<div class="table-cell data">
<select id="srlocInput" data-dest-noauto="srLoc">
<option value="Planet">Planet</option>
<option value="Moon">Moon</option>
<option value="Space Station">Space Station</option>
<option value="Space Anomaly">Space Anomaly</option>
</select>
</div>
<div class="table-cell text">
<label for="srInput">Save/reload location name (if different):</label>
</div>
<div class="table-cell data">
<input type="text" id="srInput" data-dest-noauto="srLocName">
</div>
<div class="table-cell text">
<div class="label-combo">
<label for="portalglyphsInput">Portalglyphs:</label>
<button class="button is-small is-danger" type="button" id="glyphDeleteButton">←
Delete</button>
</div>
<button class="tooltip">
<data>Found in Photo Mode. Glyphs are specific to each planet.</data>
<data>Portalglyphs</data>
<data>
Found in Photo Mode. Glyphs are specific to each planet.
<iframe src="https://nmspar.vercel.app/" sandbox="allow-scripts allow-same-origin"
title="Glyph Reader" class="explanation-embed" width="450" height="300">Glyph
Reader</iframe>
</data>
<data>shared/glyphs</data>
</button>
</div>
<div class="table-cell data">
<input type="text" id="portalglyphsInput" data-dest-noauto="portalglyphs" maxlength="12">
</div>
<div class="tableHeader data">
<div id="portalglyphButtons"></div>
<output name="portalglyphs" id="portalglyphsPreview" class="glyph"></output>
</div>
<div class="table-cell text">
<label>Class:</label>
</div>
<div class="table-cell data">
<select id="classInput" data-dest="class">
<option value="S">S</option>
<option value="A">A</option>
<option value="B">B</option>
<option value="C">C</option>
</select>
</div>
<div class="table-cell text">
<label>Add-ons:</label>
<button class="tooltip">
<data>Whether the tool has these features.</data>
<data>Multi-Tool Add-ons</data>
<data>
Check the boxes which apply to the tool.<br>
There are certain rules for some MT types in order to qualify for the add-on.<br>
<a href="Multi-Tool_Catalogue#Add-ons" data-wiki>Detailed info can be found on the
wiki</a>
</data>
<data>mt/addons</data>
</button>
</div>
<div class="table-cell data">
<div class="checkboxes">
<label class="checkbox" for="crystalsInput"><input type="checkbox" id="crystalsInput"
value="Yes" data-dest-checkbox="crystals"><span
class="checkbox-label">Crystals</span></label>
<label class="checkbox" for="hornsInput"><input type="checkbox" id="hornsInput" value="Yes"
data-dest-checkbox="horns"><span class="checkbox-label">Horns</span></label>
<label class="checkbox" for="glowtubesInput"><input type="checkbox" id="glowtubesInput"
value="Yes" data-dest-checkbox="glowtubes"><span
class="checkbox-label">Glowtubes</span></label>
</div>
</div>
<div class="table-cell text">
<label for="slotsInput">Slot count:</label>
<button class="tooltip">
<data>Can be found on the price page.</data>
<data>Multi-Tool Slotcount</data>
<data>Slotcount of the tool. Can be found on the price page.</data>
<data>mt/slots</data>
</button>
</div>
<div class="table-cell data">
<input type="text" id="slotsInput" data-dest-number="0" data-dest-noauto="slots">
</div>
<div class="table-cell text">
<label for="costInput">Cost:</label>
<button class="tooltip">
<data>Can be found on the price page.</data>
<data>Multi-Tool Cost</data>
<data>Can be found on the price page. Enter the Buy price, not the trade-in price.</data>
<data>mt/price</data>
</button>
</div>
<div class="table-cell data">
<input type="text" id="costInput" data-dest-number="0" data-dest-noauto="cost">
</div>
<div class="table-cell text">
<label for="dmgInput">Base Damage Potential:</label>
<button class="tooltip">
<data>Base damage with no installed upgrades.</data>
<data>Multi-Tool Base Damage</data>
<data>
Base damage with no installed upgrades. Every tech except for the Scanner and the
Mining Beam needs to be dismantled.
Watch out that no supercharged slots (lightblue) are used.
</data>
<data>mt/baseDmg</data>
</button>
</div>
<div class="table-cell data">
<input type="text" id="dmgInput" placeholder="0.0" data-dest-number="1" data-dest-noauto="dmg">
</div>
<div class="table-cell text">
<label for="scanInput">Base Scanner Range:</label>
<button class="tooltip">
<data>Base scan range with no installed upgrades.</data>
<data>Multi-Tool Base Scanner Range</data>
<data>
Base scanner range with no installed upgrades. Every tech except for the Scanner and the
Mining Beam needs to be dismantled.
Watch out that no supercharged slots (lightblue) are used.
</data>
<data>mt/baseScan</data>
</button>
</div>
<div class="table-cell data">
<input type="text" id="scanInput" placeholder="0.0" data-dest-number="1"
data-dest-noauto="scanRange">
</div>
<div class="tableHeader text">
<p>
<span class="has-text-weight-bold">Note</span>: These pictures should be from the discovery
menu (except coordinates)
</p>
</div>
<div class="table-cell text">
<label for="srImgInput"><output id="srImgInputLabel">Save/Reload Location</output></label>
<button class="tooltip">
<data>Click to see an example picture.</data>
<data>Save/Reload Location Picture</data>
<data></data>
<data>mt/srExample</data>
</button>
</div>
<div class="table-cell data">
<input type="text" id="srImgInput" data-dest-noauto="srPlanetImg">
<input type="file" id="srImgUpload" accept="image/*">
</div>
<div class="table-cell text">
<label for="sysImgInput"><output id="sysImgInputLabel">System (Cabinet location
highlighted)</output></label>
<button class="tooltip">
<data>Click to see an example picture.</data>
<data>Save/Reload Location Picture</data>
<data></data>
<data>mt/sysExample</data>
</button>
</div>
<div class="table-cell data">
<input type="text" id="sysImgInput" data-dest-noauto="sysImg">
<input type="file" id="sysImgUpload" accept="image/*">
</div>
<div class="table-cell text">
<label for="cabInput"><output id="cabInputLabel">Cabinet Planet/Moon</output></label>
<button class="tooltip">
<data>Click to see an example picture.</data>
<data>Save/Reload Location Picture</data>
<data></data>
<data>mt/srExample</data>
</button>
</div>
<div class="table-cell data">
<input type="text" id="cabInput" data-dest-noauto="cabinetPlanetImg">
<input type="file" id="cabUpload" accept="image/*">
</div>
<div class="table-cell text">
<label for="coordsInput"><output id="coordsInputLabel">Coordinates</output></label>
<button class="tooltip">
<data>Click to see an example picture.</data>
<data>Save/Reload Location Picture</data>
<data></data>
<data>mt/coordExample</data>
</button>
</div>
<div class="table-cell data">
<input type="text" id="coordsInput" data-dest-noauto="axesImg">
<input type="file" id="coordsUpload" accept="image/*">
</div>
<div class="table-cell text">
<label for="discoveredlinkInput">Discoverer wiki name:</label>
</div>
<div class="table-cell data">
<input type="text" id="discoveredlinkInput" data-dest="discoveredlink">
</div>
<div class="table-cell text">
<label for="discoveredInput">Discoverer alias if no wiki:</label>
</div>
<div class="table-cell data">
<input type="text" id="discoveredInput" data-dest="discovered">
</div>
<div class="table-cell text">
<label for="docbyInput">Documenter alias if not discoverer:</label>
</div>
<div class="table-cell data">
<input type="text" id="docbyInput" data-dest-noauto="docby">
</div>
<div class="table-cell text">
<label>Researchteam you belong to:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest-noauto="researchteam" id="researchteamInput" placeholder="Your civ may not have this">
</input>
</div>
<div class="tableHeader text sectionToggle">
<p>This section builds a predefined appearance sentence, it is not required.</p>
<button class="button" id="hideAppearanceButton">Hide</button>
</div>
<div data-section="appearance" class="table-cell text">
<label>Main Colour:</label>
</div>
<div data-section="appearance" class="table-cell data">
<select id="mainColourInput" data-dest-noauto="mainColour">
<option value=" "></option>
<option value="blue">Blue</option>
<option value="chrome">Chrome</option>
<option value="cream">Cream</option>
<option value="green">Green</option>
<option value="grey">Grey</option>
<option value="orange">Orange</option>
<option value="pink">Pink</option>
<option value="purple">Purple</option>
<option value="red">Red</option>
<option value="tan">Tan</option>
<option value="teal">Teal</option>
<option value="white">White</option>
<option value="yellow">Yellow</option>
</select>
</div>
<div data-section="appearance" class="table-cell text">
<label>Secondary Colour:</label>
</div>
<div data-section="appearance" class="table-cell data">
<select id="secColourInput" data-dest-noauto="secColour">
<option value=" "></option>
<option value="black">Black</option>
<option value="blue">Blue</option>
<option value="chrome">Chrome</option>
<option value="cream">Cream</option>
<option value="gold">Gold</option>
<option value="green">Green</option>
<option value="grey">Grey</option>
<option value="orange">Orange</option>
<option value="pink">Pink</option>
<option value="purple">Purple
<option value="red">Red</option>
<option value="silver">Silver</option>
<option value="tan">Tan</option>
<option value="teal">Teal</option>
<option value="white">White</option>
<option value="yellow">Yellow</option>
</select>
</div>
<div class="tableHeader data no-flex">
<label for="appearanceInput">Appearance:</label>
<textarea data-dest="appearance" id="appearanceInput"
placeholder="What does the multi-tool look like?"></textarea>
</div>
</div>
<div id="galleryInput"></div>
<div id="galleryItems" class="gallery-items-wrapper"></div>
<div id="actions" class="buttons"></div>
</div>
<div id="output" class="column is-full-mobile">
<div class="wikiText" id="fullArticle" data-link="page">
<div>{{Version|<output id="release" name="release"></output>}}</div>
<div>{{Multitool infobox</div>
<div>| name = <output id="name" name="name"></output></div>
<div>| image = <output id="image" name="image"></output></div>
<div>| civilized = <output id="hubname" name="hubname"></output></div>
<div>| galaxy = <output id="galaxy" name="galaxy"></output></div>
<div>| region = <output id="region" name="region"></output></div>
<div>| system = <output id="system" name="system"></output></div>
<div>| planet = <output id="planet"></output></div>
<div>| moon = <output id="moon"></output></div>
<div>| location = <output id="location"></output></div>
<div>| axes = <output id="axes"></output></div>
<div>| coordinates = {{Glyphs2Coords|<output id="portalglyphs1" name="portalglyphs"></output>}}</div>
<div>| portalglyphs = <output id="portalglyphs" name="portalglyphs"></output></div>
<div>| type = <output id="type" name="type"></output></div>
<div>| crystals = <output id="crystals"></output></div>
<div>| horns = <output id="horns"></output></div>
<div>| glowtubes = <output id="glowtubes"></output></div>
<div>| class = <output id="class" name="class"></output></div>
<div>| slots = <output id="slots" name="slots"></output></div>
<div>| cost = <output id="cost"></output></div>
<div>| discovered = <output id="discovered"></output></div>
<div>| discoveredlink = <output id="discoveredlink"></output></div>
<div>| researchteam = <output id="researchteam"></output></div>
<div>| release = <output id="release1" name="release"></output></div>
<div>}}</div>
<div>'''<output id="name1" name="name"></output>''' is a multi-tool.</div>
<br>
<div>==Summary==</div>
<div>'''<output id="name2" name="name"></output>''' is <output id="enPrefix"></output>
[[Multi-Tool Catalogue - <output id="type1" name="type"></output>|<output id="type2"
name="type"></output> multi-tool]].</div>
<br>
<div>==Appearance==</div>
<div><output id="appearance"></output></div>
<br>
<div>==Location==</div>
<div>This multi-tool is located in the [[<output id="system1" name="system"></output>]] [[star
system]] in the [[<output id="region1" name="region"></output>]] [[region]]<output
id="regNr"></output> of [[<output id="hubname" name="hubname"></output>]], in the [[<output id="galaxy" name="galaxy"></output>]] [[galaxy]].</div>
<br>
<div>{{CoordGlyphConvert|<output id="portalglyphs2" name="portalglyphs"></output>}}</div>
<br>
<div>==Stats==</div>
<div>The {{Class|<output id="class1" name="class"></output>}} class version of this weapon has the
following base stats:</div>
<div>* '''Damage Potential''': <output id="dmg"></output></div>
<div>* '''Scanner Range''': <output id="scanRange"></output></div>
<br>
<div>==Acquirement==</div>
<div><output id="acquirement"></output></div>
<div><gallery></div>
<div><output id="acquirementGallery"></output></div>
<div></gallery></div>
<br>
<div>==Additional Information==</div>
<div><span data-add-info="*"></span> <output id="addInfo"></output></div>
<div><span data-add-info="*"></span> <output id="docby"></output></div>
<br>
<div id="gallery"></div>
<div>==Reference Links==</div>
<div>{{MTRefLinks}}</div>
</div>
</div>
</main>
</div>
<footer id="footer" class="footer"></footer>
</body>
</html>