-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
584 lines (545 loc) · 35 KB
/
index.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
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
<!DOCTYPE html>
<html lang="en">
<head>
<title>Elemental Incremental</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- import the webpage's stylesheet -->
<link rel="stylesheet" href="./graphics.css">
<!-- import the webpage's javascript file -->
<script src="./Gas.js" defer></script>
<script src="./game.js" defer></script>
<!--<script src="./achievements.js" defer></script> -->
<script src="./gases.js" defer></script>
<script src="./upgrades.js" defer></script>
</head>
<body>
<div id="navigateButtons" class="mainTabs">
<button class="Btab1" onclick="tab('tabO1')">Options</button>
<button class="Btab1" onclick="tab('tabM.1')">Misc.</button>
<button class="Btab2" onclick="tab('tab1')">Subatomic Particles</button>
<button class="Btab3" onclick="tab('tab2')">Atoms</button>
<button class="Btab4" id="unlock1" visibility="hidden" onclick="tab('tabU1')">Upgrades</button>
<button class="Btab5" id="unlock3" visibility="hidden" onclick="tab('tab3')">Gas Containers</button>
</div><br>
<div id="energyStuff" class="energyStuff">
You have <span id = "energyDisplay">0</span> energy. <br>
<button class = "Bene" onclick = "tap(game.clickPower * game.Hpower * game.ach.power)">
Click for energy
</button><br>
You get <span id = "clickD">1</span> energy per click.
<br>You get <span id="energyS">0</span> energy/s.
</div>
<div id = "tab1"><br><br><br>
<co class = "Cpro">Spend <span id = "protonC">20</span> energy to make a proton.<br>
<button class = "Bpro" onclick = "makeProton()">
Make a proton!
</button>
<button class = "Bpro" onclick = "makeMaxProtons()">
Make as many protons as you can make with your energy!
</button><br>
You have <span id = "protonD">0</span> protons.
<sentence id="protonRowBonusText">
Next <span id="protonRowBonusEffectiveness">1.00</span>x boost to the proton effect at <span id="protonRowBonusNext">0</span> protons.
</sentence><br>
They are producing <span id = "protonP">0</span> energy per second.
</co><br><br><br>
<co class = "Cele">Spend <span id = "electronC">50</span> energy to make an electron.<br>
<button class = "Bele" onclick = "makeElectron()">
Make an electron!
</button>
<button class = "Bele" onclick = "makeMaxElectrons()">
Make as many electrons as you can make with your energy!
</button><br>
You have <span id = "electronD">0</span> electrons.
<sentence id="electronRowBonusText">
Next <span id="electronRowBonusEffectiveness">1.00</span>x boost to the electron effect at <span id="electronRowBonusNext">0</span> electrons.
</sentence><br>
They add <span id = "electronP">0</span> to your energy per click.
</co><br><br>
<subdiv id="tab1a">
<button class = "Bnuv" onclick="w2b()">
Unlock neutrinos
</button><co class ="Cnuv">Cost: 10000 energy</co>
</subdiv><br>
<subdiv id ="tab1b"><co class ="Cnuv">
Spend <span id = "neutrinoC">100000</span> energy to make a neutrino.<br>
<button class = "Bnuv" onclick = "makeNeutrino()">
Make a neutrino!
</button>
<button class = "Bnuv" onclick = "makeMaxNeutrinos()">
Make as many neutrinos as you can make with your energy!
</button><br>
You have <span id = "neutrinoD">0</span> neutrinos.<br>
They are boosting the production of energy from all sources by
<span id = "neutrinoP0">1</span><clause id="neutrinoGasBonusText">^<span id="neutrinoGasBonusD">1.000</span> = <span id="neutrinoP">1.0</span></clause>x.
</co></subdiv><br><br>
<subdiv id="tab1c">
<button class = "Bnun" onclick="w3b()">Unlock neutrons</button>
<co class="Cnun">Cost: 20 Protium.</co>
</subdiv><br>
<subdiv id="tab1d"><co class="Cnun">
Spend <span id = "neutronC">1,000,000</span> energy, 1 proton, 1 electron, and 1 neutrino to make a neutron.<br>
<button class = "Bnun" onclick = "makeNeutron()">
Make a neutron!
</button>
<button class = "Bnun" onclick = "makeMaxNeutrons()">
Make as many neutrons as you can make!
</button><br>
You have <span id = "neutronD">0</span> neutrons.<br>
They are boosting the production of energy from all sources by
<span id = "neutronP0">1</span><clause id="neutronGasBonusText">^<span id="neutronGasBonusD">2.000</span> = <span id = "neutronP">1.0</span></clause>x.<br>
They decay into <span id="neutronDecayEnD">5,000,000</span> energy with a half-life of <span id="neutronHLD">If you are seeing this, then the game is bugged</span>.<br>
Upon decay, there is a <span id="neutronDecayPD">lol</span>% chance to make a proton, a <span id="neutronDecayElD">XD</span>% chance to make an electron, and a <span id="neutronDecayND">???</span>% chance to make a neutrino.
</co></subdiv>
</div>
<div id = "tab2" class="tab2"><br><br><br>
<div id="periodicTable" class="periodicTable">
<element class="HSquare unlockedElement">H</element>
<element class="HeSquare undevelopedElement">He</element>
<element class="LiSquare undevelopedElement">Li</element>
<element class="BeSquare undevelopedElement">Be</element>
<element class="BSquare undevelopedElement">B</element>
<element class="CSquare undevelopedElement">C</element>
<element class="NSquare undevelopedElement">N</element>
<element class="OSquare undevelopedElement">O</element>
<element class="FSquare undevelopedElement">F</element>
<element class="NeSquare undevelopedElement">Ne</element>
<element class="NaSquare undevelopedElement">Na</element>
<element class="MgSquare undevelopedElement">Mg</element>
<element class="AlSquare undevelopedElement">Al</element>
<element class="SiSquare undevelopedElement">Si</element>
<element class="PSquare undevelopedElement">P</element>
<element class="SSquare undevelopedElement">S</element>
<element class="ClSquare undevelopedElement">Cl</element>
<element class="ArSquare undevelopedElement">Ar</element>
<element class="KSquare undevelopedElement">K</element>
<element class="CaSquare undevelopedElement">Ca</element>
<element class="ScSquare undevelopedElement">Sc</element>
<element class="TiSquare undevelopedElement">Ti</element>
<element class="VSquare undevelopedElement">V</element>
<element class="CrSquare undevelopedElement">Cr</element>
<element class="MnSquare undevelopedElement">Mn</element>
<element class="FeSquare undevelopedElement">Fe</element>
<element class="CoSquare undevelopedElement">Co</element>
<element class="NiSquare undevelopedElement">Ni</element>
<element class="CuSquare undevelopedElement">Cu</element>
<element class="ZnSquare undevelopedElement">Zn</element>
<element class="GaSquare undevelopedElement">Ga</element>
<element class="GeSquare undevelopedElement">Ge</element>
<element class="AsSquare undevelopedElement">As</element>
<element class="SeSquare undevelopedElement">Se</element>
<element class="BrSquare undevelopedElement">Br</element>
<element class="KrSquare undevelopedElement">Kr</element>
<element class="RbSquare undevelopedElement">Rb</element>
<element class="SrSquare undevelopedElement">Sr</element>
<element class="YSquare undevelopedElement">Y</element>
<element class="ZrSquare undevelopedElement">Zr</element>
<element class="NbSquare undevelopedElement">Nb</element>
<element class="MoSquare undevelopedElement">Mo</element>
<element class="TcSquare undevelopedElement">Tc</element>
<element class="RuSquare undevelopedElement">Ru</element>
<element class="RhSquare undevelopedElement">Rh</element>
<element class="PdSquare undevelopedElement">Pd</element>
<element class="AgSquare undevelopedElement">Ag</element>
<element class="CdSquare undevelopedElement">Cd</element>
<element class="InSquare undevelopedElement">In</element>
<element class="SnSquare undevelopedElement">Sn</element>
<element class="SbSquare undevelopedElement">Sb</element>
<element class="TeSquare undevelopedElement">Te</element>
<element class="ISquare undevelopedElement">I</element>
<element class="XeSquare undevelopedElement">Xe</element>
<element class="CsSquare undevelopedElement">Cs</element>
<element class="BaSquare undevelopedElement">Ba</element>
<element class="LaSquare undevelopedElement">La</element>
<element class="CeSquare undevelopedElement">Ce</element>
<element class="PrSquare undevelopedElement">Pr</element>
<element class="NdSquare undevelopedElement">Nd</element>
<element class="PmSquare undevelopedElement">Pm</element>
<element class="SmSquare undevelopedElement">Sm</element>
<element class="EuSquare undevelopedElement">Eu</element>
<element class="GdSquare undevelopedElement">Gd</element>
<element class="TbSquare undevelopedElement">Tb</element>
<element class="DySquare undevelopedElement">Dy</element>
<element class="HoSquare undevelopedElement">Ho</element>
<element class="ErSquare undevelopedElement">Er</element>
<element class="TmSquare undevelopedElement">Tm</element>
<element class="YbSquare undevelopedElement">Yb</element>
<element class="LuSquare undevelopedElement">Lu</element>
<element class="HfSquare undevelopedElement">Hf</element>
<element class="TaSquare undevelopedElement">Ta</element>
<element class="WSquare undevelopedElement">W</element>
<element class="ReSquare undevelopedElement">Re</element>
<element class="OsSquare undevelopedElement">Os</element>
<element class="IrSquare undevelopedElement">Ir</element>
<element class="PtSquare undevelopedElement">Pt</element>
<element class="AuSquare undevelopedElement">Au</element>
<element class="HgSquare undevelopedElement">Hg</element>
<element class="TlSquare undevelopedElement">Tl</element>
<element class="PbSquare undevelopedElement">Pb</element>
<element class="BiSquare undevelopedElement">Bi</element>
<element class="PoSquare undevelopedElement">Po</element>
<element class="AtSquare undevelopedElement">At</element>
<element class="RnSquare undevelopedElement">Rn</element>
<element class="FrSquare undevelopedElement">Fr</element>
<element class="RaSquare undevelopedElement">Ra</element>
<element class="AcSquare undevelopedElement">Ac</element>
<element class="ThSquare undevelopedElement">Th</element>
<element class="PaSquare undevelopedElement">Pa</element>
<element class="USquare undevelopedElement">U</element>
<element class="NpSquare undevelopedElement">Np</element>
<element class="PuSquare undevelopedElement">Pu</element>
<element class="AmSquare undevelopedElement">Am</element>
<element class="CmSquare undevelopedElement">Cm</element>
<element class="BkSquare undevelopedElement">Bk</element>
<element class="CfSquare undevelopedElement">Cf</element>
<element class="EsSquare undevelopedElement">Es</element>
<element class="FmSquare undevelopedElement">Fm</element>
<element class="MdSquare undevelopedElement">Md</element>
<element class="NoSquare undevelopedElement">No</element>
<element class="LrSquare undevelopedElement">Lr</element>
<element class="RfSquare undevelopedElement">Rf</element>
<element class="DbSquare undevelopedElement">Db</element>
<element class="SgSquare undevelopedElement">Sg</element>
<element class="BhSquare undevelopedElement">Bh</element>
<element class="HsSquare undevelopedElement">Hs</element>
<element class="MtSquare undevelopedElement">Mt</element>
<element class="DsSquare undevelopedElement">Ds</element>
<element class="RgSquare undevelopedElement">Rg</element>
<element class="CnSquare undevelopedElement">Cn</element>
<element class="NhSquare undevelopedElement">Nh</element>
<element class="FlSquare undevelopedElement">Fl</element>
<element class="McSquare undevelopedElement">Mc</element>
<element class="LvSquare undevelopedElement">Lv</element>
<element class="TsSquare undevelopedElement">Ts</element>
<element class="OgSquare undevelopedElement">Og</element>
</div>
Reset your progress in exchange for some Hydrogen Atoms.<br><br>
<tables class="HydrogenTable">
<div class="AreaH1">
You will get as much Protium (<sup>1</sup>H) as the minimum of your protons and electrons.<br>
<button class="Bprestige1" onclick = "p1(1)">
Make some Protium in exchange for your subatomic particles!
</button>
<br>You have <span id = "H1D">0</span> Protium.
<br><br>They boost your total energy production by 1+(Protium+1)^<span id="H1EffectExponentD">0.5</span>.
<br><br>They are currently boosting your energy production by <span id="H1P">1</span>x.
</div>
<div class="AreaH2" id="H2square">
You will get as much Deuterium (<sup>2</sup>H) as the minimum of your protons, neutrons, and electrons.<br>
<button class="Bprestige1" onclick = "p1(2)">
Make some Deuterium in exchange for your subatomic particles!
</button>
<br>You have <span id = "H2D">0</span> Deuterium.
<br><br>They boost your total energy production by 1+(Deuterium+1)^<span id="H2EffectExponentD">0.5</span>.
<br><br>They are currently boosting your energy production by <span id="H2P">1</span>x.
</div>
</tables><br>
You are getting a <span id = "HpP">1</span>x boost to your energy production from all Hydrogen atoms.
<br><br><br>
</div>
<div id="tab3">
<br><br>
<button class="BgasC1U" id="gasC1U" onclick="w4b()">
Buy the first gas container!
<br><br>Cost: 1e8 energy
</button>
<div id="tab3main">
<div id="tab3s">
<button id="Btab3.0" class = "mBtab1" onclick="tab('tab3.0')">?</button>
<button id="Btab3.1" class = "mBtab1" onclick="tab('tab3.1')">Gas container 1</button>
<br><br><br>
</div>
<div id="tab3.0">
Multiple gases can be added to gas containers. All gases start at their boiling point in terms of temperature.
<br><br>The temperature you see is the average temperature of all gas molecules in the container.
<br><br>Using the ideal gas law, PV = nRT, both increasing the number of molecules and increasing the temperature increases the pressure and/or volume of the container.
<br><br>The sides of the container expand when the pressure gets high enough, increasing the volume of the container. (Yes, this is a softcap.)
<br><br>Due to heating inefficiencies, it takes more energy to heat up the gases by one unit when the gases are already hot. (Yes, this is a kind of scaling.)
<br><br>Heat is conducted out of the container at a rate proportional to the temperature; therefore, temperature decays exponentially.
<br><br>Gases in the container cannot completely liquefy, so the minimum temperature of the container is the melting point of the gas with the lowest melting point.
<br><br>
<br>Effects:
<br>Pressure raises the exponent of the neutron effect.
<br>Temperature raises the exponent of the neutrino effect.
<br><br>
<br>COMING SOON in v2.0:
<br>Injecting neutrons into the gas container at a high enough pressure will cause a great explosion, creating Helium but decimating everything else.
<br>This is the 2nd prestige layer of Elemental Incremental. Stay tuned!
</div>
<div id="tab3.1">
<tables class="gasContainerTable">
<side class="gasContainerLeftSide">
<span id="c1g1D">bug</span>
<span id="c1g2D">bug</span>
<br>Pressure: <span id="c1PD">0</span>
<br>Temperature: <span id="c1TD">0</span>
<br>Volume: <span id="c1VD">1.0</span>
</side>
<side class="gasContainerRightSide">
Select the molecule to add to the gas container:
<select>
<option name="H2">H2</option>
</select>
Requires 2 Hydrogen atoms and 2e8 energy per H2 molecule
<br><br><br>
Select how many gas molecules you want to make (amount or proportion of total possible molecules that can be made):
<select id="C1InputType" onchange="changeInputType(1)">
<option name="proportion">proportion</option>
<option name="amount">amount</option>
</select>
<br>
<input type="number" id="C1InputTextBox">
<button onclick="changeInputNum(1,1)">Add gases</button>
<br><br>
Select the proportion of energy you want to spend to heat this container up.
<br><input type="number" id="C1HeatTextBox">
<button onclick="changeInputNum(1,2)">Add heat</button>
<br><br><br><br>
<button onclick="flushC1()">Flush this container to let the gases escape</button>
</side>
</tables>
</div>
</div>
</div>
<div id = "tabU1"><br><br><br>
<tables class="upgradeTable1" id="upgradeTable1">
<upgrade class="ruSlot" id="ru1">
<upgrade class="ruSlotText">
Decrease the cost scaling of protons by 3%.<br><br>
Cost: <span id="ru1Cost">10 anti</span> Protium.<br>
Level <span id="ru1Level">bug</span><br>
</upgrade>
<button class="ruBuy1CannotAfford" id="ru1Buy1" onclick="ru1One()">
Buy 1
</button>
<button class="ruBuyMaxCannotAfford" id="ru1BuyMax" onclick="ru1Max()">
Buy max
</button>
</upgrade>
<upgrade class="ruSlot" id="ru2">
<upgrade class="ruSlotText">
Decrease the cost scaling of electrons by 3%.<br><br>
Cost: <span id="ru2Cost">1 anti</span> Deuterium.<br>
Level <span id="ru2Level">bug</span><br>
</upgrade>
<button class="ruBuy1CannotAfford" id="ru2Buy1" onclick="ru2One()">
Buy 1
</button>
<button class="ruBuyMaxCannotAfford" id="ru2BuyMax" onclick="ru2Max()">
Buy max
</button>
</upgrade>
<upgrade class="ruSlot" id="ru3">
<upgrade class="ruSlotText">
Decrease the cost scaling of neutrinos by 4%.<br><br>
Cost: <span id="ru3Cost">1e7 anti</span> energy.<br>
Level <span id="ru3Level">bug</span><br>
</upgrade>
<button class="ruBuy1CannotAfford" id="ru3Buy1" onclick="ru3One()">
Buy 1
</button>
<button class="ruBuyMaxCannotAfford" id="ru3BuyMax" onclick="ru3Max()">
Buy max
</button>
</upgrade>
<upgrade class="ruSlot" id="ru4">
<upgrade class="ruSlotText">
Decrease the cost scaling of neutrons by 4%.<br><br>
Cost: <span id="ru4CostProtium">50</span> Protium, <span id="ru4CostDeuterium">5</span> Deuterium, and <span id="ru4CostEnergy">5e8</span> energy.<br>
Level <span id="ru4Level">bug</span><br>
</upgrade>
<button class="ruBuy1CannotAfford" id="ru4Buy1" onclick="ru4One()">
Buy 1
</button>
<button class="ruBuyMaxCannotAfford" id="ru4BuyMax" onclick="ru4Max()">
Buy max
</button>
</upgrade>
<button class="UCannotAfford" id="iu1" onclick = "iu1b()">
<span id="iu1desc">If you can read this, the game is bugged</span>.<br><br>
<span id="iu1ProtiumCost">Cost: 123 Protium</span><span id="iu1DeuteriumCost">, lol Deuterium</span><span id="iu1EnergyCost">, XD energy.</span><br>
Level <span id = "iu1Level">0</span><br>
</button>
<button class="UCannotAfford" id="ru5" onclick = "ru5One()">
<span id="ru5desc">Triple the effectiveness of electrons</span>.<br><br>
<span id="ru5ProtiumCost">Cost: 123 Protium, </span><span id="ru5DeuteriumCost">lol Deuterium, and </span><span id="ru5EnergyCost">XD energy.</span><br>
Level <span id = "ru5Level">0</span><br>
</button>
<upgrade class="ruSlot" id="ru6">
<upgrade class="ruSlotText">
Add 10% to the multiplicative bonus when your proton amount reaches the end of a row of the periodic table.<br><br>
Cost: <span id="ru6CostProtium">bug</span> Protium, <span id="ru6CostEnergy">BUG</span> energy.<br>
Level <span id="ru6Level">-0</span><br>
</upgrade>
<button class="ruBuy1CannotAfford" id="ru6Buy1" onclick="ru6One()">
Buy 1
</button>
<button class="ruBuyMaxCannotAfford" id="ru6BuyMax" onclick="ru6Max()">
Buy max
</button>
</upgrade>
<upgrade class="ruSlot" id="ru7">
<upgrade class="ruSlotText">
Add 10% to the multiplicative bonus when your electron amount reaches the end of a row of the periodic table.<br><br>
Cost: <span id="ru7CostDeuterium">bug</span> Deuterium, <span id="ru7CostEnergy">BUG</span> energy.<br>
Level <span id="ru7Level">-0</span><br>
</upgrade>
<button class="ruBuy1CannotAfford" id="ru7Buy1" onclick="ru7One()">
Buy 1
</button>
<button class="ruBuyMaxCannotAfford" id="ru7BuyMax" onclick="ru7Max()">
Buy max
</button>
</upgrade>
<button id="nu1" class="UCannotAfford" onclick="nu1Buy()">
Each completed achievement row increased the bonus per completed achievement by +1%.
<br><br>Cost: 3e11 energy.
</button>
<button id="nu2" class="UCannotAfford" onclick="nu2Buy()">
Protons and Electrons make each other cheaper. (Divides cost by 2^other^(1/3))<br>
<br>Protons <span id="nu2TextProton">would be</span> <span id="nu2EffectProton">1</span>x cheaper.
<br>Electrons <span id="nu2TextElectron">would be</span> <span id="nu2EffectElectron">1</span>x cheaper.
<br><br>Cost: 750 Protium, 50 Deuterium, 1e13 energy.
</button>
<button id="nu3" class="UCannotAfford" onclick="nu3Buy()">
Protium and Deuterium boost each other.<br>
<br>Protium effect exponent: +<span id="nu3EffectProtium">0.000</span>
<br>Deuterium effect exponent: +<span id="nu3EffectDeuterium">0.000</span>
<br><br>Cost: 250 Protium, 250 Deuterium, 1e15 energy.
</button>
<button id="nu4" class="UCannotAfford" onclick="nu4Buy()">
Increase energy gained from neutron decay to 50% of its original cost.
<br><br>Cost: 5000 Protium, 1000 Deuterium.
</button>
</tables>
</div>
<div id = "tabO1"><br><br><br>
<button onclick = "save()">Manual save</button>
<button onclick = "exportSave()">Export save</button>
<br><br><br>
Numbers equal to or greater than 1e<span id="minPowerForSciD">6</span> will be displayed using <span id="sigFigD">4</span> significant figures.
<button onclick="changeSigFigs(-1, 0)">-</button>
<button onclick="changeSigFigs(1, 0)">+</button>
<form>
Number of sig figs:
<input type="number" id="sigFigInput1">
<button type="button" onclick="sigFigTextBox()">Apply</button>
</form><br>
The minimum number required to display notation as scientific is 1e<span id="minPowerForSciD2">6</span>.
<button onclick="changeMinPowerForSci(-1)">-</button>
<button onclick="changeMinPowerForSci(1)">+</button>
<br><br><br>
Toggle hotkeys: <button id="hotkeyToggle" onclick="toggleHotkeys()">Hotkeys are <span id="hotkeyToggleD">bugged</span></button>
<br>H = Perform a Protium reset
<br><span id="DhotkeyD">D = Perform a Deuterium reset</span>
<br><br><br><br>
Hard Reset (NOTICE: When clicking this button, there will be a confirmation.) : <button onclick = "hardResetClick()">HARD RESET</button>
</div>
<div id = "tabM"><br><br>
<div id = "navigateMisc">
<button class = "mBtab1" onclick="tab('tabM.1')">Achievements</button>
<button class = "mBtab1" onclick="tab('tabM.2')">Statistics</button>
<button class = "mBtab1" onclick="tab('tabM.3')">Changelog</button>
<button class = "mBtab1" onclick="tab('tabM.4')">Credits</button>
<button class = "mBtab1" onclick="tab('tabM.5')">More SuperSpruce stuff</button>
</div><br><br>
<div id = "tabM.1">
You get a <span id="perAchBonus">5</span>% boost to energy gain from all sources per achievement; this boost stacks multiplicatively.<br>
Your achievements are giving you a <span id="achBonusD">1.00</span>x multiplier to energy gain from all sources.
<br><br>
<tables class="achievementTable">
<div class="achF" id="ach1D">Pseudo-Carbon<span class="tooltip">Have at least 6 protons and at least 6 electrons at the same time.</span></div>
<div class="achF" id="ach2D">Pseudo-Neon<span class="tooltip">Have at least 10 protons and at least 10 electrons at the same time.</span></div>
<div class="achF" id="ach3D">Pseudo-Argon<span class="tooltip">Have at least 18 protons and at least 18 electrons at the same time.</span></div>
<div class="achF" id="ach4D">Is this a trillion electron-volts?<span class="tooltip">Create a total of at least 21,300 energy.</span></div>
<div class="achF" id="ach5D">A microjoule?<span class="tooltip">Create a total of at least 133,100 energy.</span></div>
<div class="achF" id="ach6D">Millionaire<span class="tooltip">Create a total of at least 1 million energy.</span></div>
<div class="achF" id="ach7D">Pseudo-Iron<span class="tooltip">Have at least 26 protons and at least 26 electrons at the same time.</span></div>
<div class="achF" id="ach8D">Pseudo-Krypton<span class="tooltip">Have at least 36 protons and at least 36 electrons at the same time.</span></div>
<div class="achF" id="ach9D">Energy hoarder<span class="tooltip">Have a total of at least 10 million energy on hand.</span></div>
<div class="achF" id="ach10D">That's more than Oganesson!<span class="tooltip">Have a total of at least 294 amu worth of atoms.</span></div>
<div class="achF" id="ach11D">Active run<span class="tooltip">Have at least 30 electrons but no protons.</span></div>
<div class="achF" id="ach12D">Idle run<span class="tooltip">Have at least 30 protons but no electrons.</span></div>
<div class="achF" id="ach13D">Now we're talking<span class="tooltip">Create at least 20,000 energy in the span of one second.</span></div>
<div class="achF" id="ach14D">Bonus!<span class="tooltip">Have a total of at least 10 achievements.</span></div>
<div class="achF" id="ach15D">Fast Hydrogen<span class="tooltip">Have a reset for at least 1 Hydrogen atom that lasts under 4 seconds.</span></div>
<div class="achF" id="ach16D">Neutrino rookie<span class="tooltip">Have at least 10 neutrinos.</span></div>
<div class="achF" id="ach17D">That's a lot of particles<span class="tooltip">Have the sum of your protons, neutrons, electrons, and neutrinos be at least 100.</span></div>
<div class="achF" id="ach18D">Pseudo-Silver<span class="tooltip">Have at least 47 protons and at least 47 electrons at the same time.</span></div>
<div class="achF" id="ach19D">Pseudo-Xenon<span class="tooltip">Have at least 54 protons and at least 54 electrons at the same time.</span></div>
<div class="achF" id="ach20D">Classic run<span class="tooltip">Have a total of at least 50 million energy on hand without any neutrinos.</span></div>
<div class="achF" id="ach21D">What just happened?!<span class="tooltip">Have a neutron decay.</span></div>
<div class="achF" id="ach22D">Kinetic energy of a toy car<span class="tooltip">Create a total of at least 200 million energy.</span></div>
<div class="achF" id="ach23D">A question mark move<span class="tooltip">Have at least 4 neutrons but no neutrinos.</span></div>
<div class="achF" id="ach24D">Enough for Carbon-12<span class="tooltip">Have at least 6 neutrons.</span></div>
<div class="achF" id="ach25D">What do we call this?<span class="tooltip">Have at least 5 neutrons but no protons and no electrons.</span></div>
<div class="achF" id="ach26D">Billionaire<span class="tooltip">Create a total of at least 1 billion energy.</span></div>
<div class="achF" id="ach27D">Bulked up<span class="tooltip">Make at least 40 subatomic particles in a single purchase.</span></div>
<div class="achF" id="ach28D">Bonus! 2<span class="tooltip">Have a total of at least 25 achievements.</span></div>
<div class="achF" id="ach29D">Heavier than a hundred Carbons<span class="tooltip">Have the mass of all your stuff exceed 1200 amu.</span></div>
<div class="achF" id="ach30D">Historic run<span class="tooltip">Have a total of at least 500 million energy on hand without any neutrinos or neutrons on hand.</span></div>
<div class="achF" id="ach31D">Typical tetra-power of 10<span class="tooltip">Create a total of 1e10 = 10^^2 energy.</span></div>
<div class="achF" id="ach32D">Fast Deuterium<span class="tooltip">Have a reset for at least 1 Deuterium atom that lasts under 5 seconds.</span></div>
<div class="achF" id="ach33D">The first Joule's always the hardest<span class="tooltip">Create a total of 1.331e11 energy.</span></div>
<div class="achF" id="ach34D">Phone on standby<span class="tooltip">Create at least 2e10 energy in the span of one second.</span></div>
<div class="achF" id="ach35D">Pseudo-Oganesson<span class="tooltip">Have at least 118 protons and 118 electrons at the same time.</span></div>
<div class="achF" id="ach36D">Trillionaire<span class="tooltip">Create a total of at least 1 trillion energy.</span></div>
<div class="achF" id="ach37D">Hydrogen machine<span class="tooltip">Create at least 1000 Hydrogen atoms in the span of one minute.</span></div>
<div class="achF" id="ach38D">Neutrino expert<span class="tooltip">Have at least 60 neutrinos on hand.</span></div>
<div class="achF" id="ach39D">Neutrality<span class="tooltip">Have 1e8 energy on hand without getting any protons or electrons in your current reset.</span></div>
<div class="achF" id="ach40D">Medieval Run<span class="tooltip">Have 5e10 energy on hand while never getting any neutrinos or neutrons in your current reset.</span></div>
</tables>
</div>
<div id = "tabM.2">
You have made a total of <span id="totalEnergyD">0</span> energy across all resets.
<br>If it always took 20 energy to make a proton from nothing, this amount would be equal to <span id="totalEnergyPerspective">-0</span> Joules.
</div>
<div id = "tabM.3">
v0.1 alpha: 1-11-2020: Started making this game.<br>
v1.0 beta: 1-11-2020: Added Hydrogen Atoms (Protium). <br>
v1.0.1 beta: 1-11-2020: Added the first Basic Atomic Upgrade. <br>
v1.1 beta: 1-12-2020: Saving now works!<br>
v1.2 beta: 3-16-2020: I've been revamping the code for a while, and have gotten pre-prestige to work.<br><br>
v1.2.1 beta: 3-11-2022 (Yes that's 2022, not 2020): Continued to refactor the code and the 100 protium upgrade now works.<br>
v1.3: 3-14-2022: Added neutrinos! Also added formatting options and a software license, and fixed many bugs.<br>
v1.3.1: 3-14-2022: Fixed a bug where the CSS and JS were not recognized by the HTML.<br>
v1.3.2: 3-14-2022: Fixed a bug where the game kept hard resetting.<br>
v1.3.3: 3-14-2022: Fixed a bug where protons do nothing directly after a hard reset.<br>
v1.3.4: 3-19-2022: Added a new formatting option, added subtabs for the Misc. (formerly Changelog) tab, and added a hotkey "H" for Hydrogen atom resets!<br>
v1.3.5: 3-19-2022: Fixed a bug where the minimum power for scientific notation was undefined.<br>
v1.4: 3-19-2022: Added achievements! There are 20 of them in this initial batch.<br>
v1.4.6: 3-20-2022: Fixed a typo and a game-breaking bug.<br>
v1.5: 3-22-2022: Added neutrons! Also added 5 new achievements and a button to export your save.<br>
v1.5.1: 3-23-2022: Fixed a bug where you could get negative protons, negative electrons, and negative neutrinos.
<br>v1.6: 3-25-2022: Added Deuterium! Also added 5 new achievements and fixed a bug where hard resetting doesn't reset achievements.
<br>v1.7: 4-4-2022: Added 6 upgrades! Fixed minor bugs too.
<br>v1.8: 4-13-2022: Added 6 more upgrades, made cost reductions retroactive, added a confirmation to the Hard Reset button, added a periodic table, and added 5 new achievements!
<br>v1.8.1: 4-13-2022: Fixed a visual bug where a sentence spoiling a later upgrade was shown before it was supposed to.
<br>
<br>v1.9: 1-11-2023
<br>Added gas containers! You can make H2 gas molecules, and the temperature of the gas container affect the exponents of the neutrino and neutron effects.
<br>Buffed upgrades 1-4: 1% -> 3%, 2% -> 4%. Nerfed upgrade 10: 2^other^(1/2) -> 2^other^(1/3).
<br>Added 5 new achievements for a total of 40 now.
<br>Added a toggle for hotkeys and a few other QoL things.
</div>
<div id = "tabM.4">
Note: This software is licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0.html">Apache License 2.0</a>.<br>
This means you can do anything you want with the software as long as you credit me for the original and state that you made a change to this software.
<br><br>
<br>Ideas: SuperSpruce
<br>Game: SuperSpruce
<br>Graphics: SuperSpruce
</div>
<div id = "tabM.5">
<br>SuperSpruce's <a href="superspruce.org">homepage</a>
<br>SuperSpruce's <a href="https://www.youtube.com/channel/UCrpbLYZYpwpkrW9j9x8Ci2A">YouTube channel</a>
<br><a href="https://superspruce.github.io/Clover-Clicker/">Clover Clicker</a>
<br><a href="https://superspruce.github.io/TheUnscaledIncremental/">The Unscaled Incremental</a>
<br><br><br>
The Antimatter Dimensions Reality Update just got leaked!!! Play it <a href="https://www.latlmes.com/world/antimatter-dimensions-reality-test-leak-1">here</a>!
</div>
</div>
</body>
</html>