forked from 1e1000000/universal-idle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
251 lines (248 loc) · 16.1 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
<title id="title">Universal Idle</title>
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">
<style>* {font-family: 'Inter', sans-serif;}</style>
<link rel="stylesheet" type="text/css" href="style.css" />
<script src="jquery.js" defer></script>
<script src="notify.js" defer></script>
<script src="saveload.js" defer></script>
<script src="break_eternity.js" defer></script>
<script src="format.js" defer></script>
<script src="function.js" defer></script>
<script src="prestige.js" defer></script>
<script src="challenge.js" defer></script>
<script src="generator.js" defer></script>
<script src="achieve.js" defer></script>
<script src="hotkeys.js" defer></script>
<script src="update.js" defer></script>
<script src="tab.js" defer></script>
<script src="script.js" defer></script>
<script src="news.js" defer></script>
<div id="topbar" style="">
<div id="news" style=""></div>
</div>
<text id="gameSpeed"></text>
<h1 id="atom">You have X atoms in your universe</h1>
<p id="sizeSpeed">They are explaining universe size by X meter per second</p>
<p id="atomSpeed">You are getting X atoms per second</p>
<h1 id="atomAlternate"></h1>
<h2 id="size">Your universe size is X meters</h2>
<p id="sizeBoost">They multiply all Generator speed by X</p>
<h2 id="sizeAlternate"></h2>
<p id="sizeAlternate2"></p>
<h2 id="time">Your universe age is X</h2>
<p id="timeBoost">They raising all Generator multiplier to the power of X</p>
<h2 id="timeAlternate"></h2>
<p id="timeAlternate2"></p>
<div>
<button onclick="Tab(1)" id="t1">Generators</button>
<button onclick="Tab(2)" id="t2">Universe</button>
<button onclick="Tab(3)" id="t3">Challenges</button>
<button onclick="Tab(4)" id="t4">Automations</button>
<button onclick="Tab(101)" id="t101">Options</button>
<button onclick="Tab(102)" id="t102">Statistics</button>
<button onclick="Tab(103)" id="t103">Achievements</button>
<button onclick="Tab(104)" id="t104">Softcaps</button>
</div>
<br>
<div id="tab1">
<button onclick="buyMaxAllGenerator()">Buy Max All Generator</button>
<br><br>
<span id="gen1">
Generator I<sup id="gen1Bought"></sup>: <text id="gen1Amount"></text> (+<text id="gen1Speed"></text>/s, Power: <text id="gen1Multi"></text>x)
<br>
<button onclick="buyGenerator(1)">Upgrade Generator I, Cost: <text id="gen1Cost"></text></button>
<button onclick="buyMaxGenerator(1)">Buy Max Generator I</button>
<br><br>
</span>
<span id="gen2">
Generator II<sup id="gen2Bought"></sup>: <text id="gen2Amount"></text> (+<text id="gen2Speed"></text>/s, Power: <text id="gen2Multi"></text>x)
<br>
<button onclick="buyGenerator(2)">Upgrade Generator II, Cost: <text id="gen2Cost"></text></button>
<button onclick="buyMaxGenerator(2)">Buy Max Generator II</button>
<br><br>
</span>
<span id="gen3">
Generator III<sup id="gen3Bought"></sup>: <text id="gen3Amount"></text> (+<text id="gen3Speed"></text>/s, Power: <text id="gen3Multi"></text>x)
<br>
<button onclick="buyGenerator(3)">Upgrade Generator III, Cost: <text id="gen3Cost"></text></button>
<button onclick="buyMaxGenerator(3)">Buy Max Generator III</button>
<br><br>
</span>
<span id="gen4">
Generator IV<sup id="gen4Bought"></sup>: <text id="gen4Amount"></text> (+<text id="gen4Speed"></text>/s, Power: <text id="gen4Multi"></text>x)
<br>
<button onclick="buyGenerator(4)">Upgrade Generator IV, Cost: <text id="gen4Cost"></text></button>
<button onclick="buyMaxGenerator(4)">Buy Max Generator IV</button>
<br><br>
</span>
<span id="gen5">
Generator V<sup id="gen5Bought"></sup>: <text id="gen5Amount"></text> (+<text id="gen5Speed"></text>/s, Power: <text id="gen5Multi"></text>x)
<br>
<button onclick="buyGenerator(5)">Upgrade Generator V, Cost: <text id="gen5Cost"></text></button>
<button onclick="buyMaxGenerator(5)">Buy Max Generator V</button>
<br><br>
</span>
<span id="gen6">
Generator VI<sup id="gen6Bought"></sup>: <text id="gen6Amount"></text> (+<text id="gen6Speed"></text>/s, Power: <text id="gen6Multi"></text>x)
<br>
<button onclick="buyGenerator(6)">Upgrade Generator VI, Cost: <text id="gen6Cost"></text></button>
<button onclick="buyMaxGenerator(6)">Buy Max Generator VI</button>
<br><br>
</span>
<span id="gen7">
Generator VII<sup id="gen7Bought"></sup>: <text id="gen7Amount"></text> (+<text id="gen7Speed"></text>/s, Power: <text id="gen7Multi"></text>x)
<br>
<button onclick="buyGenerator(7)">Upgrade Generator VII, Cost: <text id="gen7Cost"></text></button>
<button onclick="buyMaxGenerator(7)">Buy Max Generator VII</button>
<br><br>
</span>
<span id="gen8">
Generator VIII<sup id="gen8Bought"></sup>: <text id="gen8Amount"></text> (+<text id="gen8Speed"></text>/s, Power: <text id="gen8Multi"></text>x)
<br>
<button onclick="buyGenerator(8)">Upgrade Generator VIII, Cost: <text id="gen8Cost"></text></button>
<button onclick="buyMaxGenerator(8)">Buy Max Generator VIII</button>
<br><br>
</span>
<span id="genB">
Generator Boost (<text id="genBoostAmount"></text>): Require <text id="genBoostCost"></text> Generator VIII
<button onclick="buyGeneratorBoost()">Reset everything for a Generator Boost</button><br>
Current Boost:<br>
<text id="genBoostEff1"></text>x to Generator Speed<br>
+<text id="genBoostEff2"></text> exponent from Atoms to Size speed<br>
+<text id="genBoostEff3"></text>% Universe Point Gain<br>
</span>
</div>
<div id="tab2">
You have <text id="uniPts"></text> Universe Points<br>
<button id="uniReset" onclick="prestige(1, -1)">Reset for Universe Points</button>
<br><br>
Upgrade:
<br>
<button onclick="buyRepeatableUpgrade(1,1)" style="text-align: left">You gain 2x more Universe Points (softcaps past level 60)<br>Cost: <text id="repeatUniUpg1Cost"></text> Universe Points, Currently: <text id="uniRep1Eff"></text>x (Level <text id="repeatUniUpg1Level"></text>)</button>
<br>
<button onclick="buyRepeatableUpgrade(1,2)" style="text-align: left">Generator multipliers' softcap and Universe Explain Speed's softcap starts <text id="uniRep2EffBase">1e27</text>x later (softcaps past level 50)<br>Cost: <text id="repeatUniUpg2Cost"></text> Universe Points, Currently: <text id="uniRep2Eff"></text>x later (Level <text id="repeatUniUpg2Level"></text>)</button>
<br>
<button onclick="buyUpgrade(1,1)" style="text-align: left">Generators are Faster based on your Universe Points<br>Cost: <text id="uniUpg1Cost"></text> Universe Points, Currently: <text id="uniUpg1Eff"></text>x <text id="uniUpg1Bought"></text></button>
<br>
<button onclick="buyUpgrade(1,2)" style="text-align: left">Your Universe Points produce Time<br>Cost: <text id="uniUpg2Cost"></text> Universe Points, Currently: +<text id="uniUpg2Eff"></text>/s <text id="uniUpg2Bought"></text></button>
<br>
<button onclick="buyUpgrade(1,3)" style="text-align: left">Generators are faster based on total Generators bought<br>Cost: <text id="uniUpg3Cost"></text> Universe Points, Currently: <text id="uniUpg3Eff"></text>x <text id="uniUpg3Bought"></text></button>
<br>
<button onclick="buyUpgrade(1,4)" style="text-align: left">Size boost multiplier is squared<br>Cost: <text id="uniUpg4Cost"></text> Universe Points <text id="uniUpg4Bought"></text></button>
<br>
<button onclick="buyUpgrade(1,5)" style="text-align: left">All Generator Boost effects are 50% stronger<br>Cost: <text id="uniUpg5Cost"></text> Universe Points <text id="uniUpg5Bought"></text></button>
<br>
<button onclick="buyUpgrade(1,6)" style="text-align: left">Your Universe Age makes your Universe Explain faster and boost Atom gain<br>Cost: <text id="uniUpg6Cost"></text> Universe Points, Currently: <text id="uniUpg6Eff2"></text>x Universe Explain Speed and <text id="uniUpg6Eff1"></text>x Atoms gain <text id="uniUpg6Bought"></text></button>
<br>
<button onclick="buyUpgrade(1,7)" style="text-align: left">Generator bought boost's softcap starts 40 later<br>Cost: <text id="uniUpg7Cost"></text> Universe Points <text id="uniUpg7Bought"></text></button>
<br>
<button onclick="buyUpgrade(1,8)" style="text-align: left">Raise All Generators multiplier to the power of 1.09 (unaffected by softcap) and Achievement 32's multiplier is squared<br>Cost: <text id="uniUpg8Cost"></text> Universe Points <text id="uniUpg8Bought"></text></button>
<br>
<button onclick="buyUpgrade(1,9)" style="display: none; text-align: left">???<br>Cost: <text id="uniUpg9Cost"></text> Universe Points <text id="uniUpg9Bought"></text></button>
<br>
<button onclick="buyUpgrade(1,10)" style="display: none; text-align: left">???<br>Cost: <text id="uniUpg10Cost"></text> Universe Points <text id="uniUpg10Bought"></text></button>
<br>
</div>
<div id="tab3">
<button onclick="exitChallenge(1)" id="exitChallenge">Exit Challenge</button>
<br>
You are currently <text id="activeUniChal"></text>
<br>
In any Universe Challenge, your Time Boost will do nothing.
<br>
Unlocked Challenges: <text id="uniChalUnl"></text>, you need to make a total of <text id="uniChalReq"></text> Atoms to unlock the next one
<br>
Your <text id="totalChallengeComp"></text> Challenge completions increase Time production by <text id="metaChallengeReward"></text>%
<br><br>
<button onclick="enterChallenge(1, 1)" style="text-align: left" id="uniChal1">Challenge 1: You gain Atoms <text id="uniChal1Eff1">1e16</text>x slower and all other Generator multipliers are ^0.425, but your universe explains <text id="uniChal1Eff2">1e4</text>x faster<br>Require: 1000 Universe Points, Goal: <text id="uniChal1Goal"></text> Atoms, Reward: Generators 2-8 are <text id="uniChal1Reward"></text>x faster <text id="uniChal1Comp"></text></button>
<br>
<button onclick="enterChallenge(1, 2)" style="text-align: left" id="uniChal2">Challenge 2: Bought boost multiplier is always 1x and your Universe never explains<br>Require: 1.44x Game Speed, Goal: <text id="uniChal2Goal"></text> Atoms, Reward: Generator bought multiplier is increased by 0.35 <text id="uniChal2Comp"></text></button>
<br>
<button onclick="enterChallenge(1, 3)" style="text-align: left" id="uniChal3">Challenge 3: You can't buy odd numbered Generators and their multiplier is ^0.01, but you start with 1,000 Atoms on reset<br>Require: Best <text id="uniChal3Req">1e143</text> Meters, Goal: <text id="uniChal3Goal"></text> Atoms, Reward: You gain <text id="uniChal3Reward"></text>x more Universe Points (based on Generator VIII's multiplier) and Generator Bought boost's softcap is weaker (^0.5 → ^0.52) <text id="uniChal3Comp"></text></button>
<br>
<button onclick="enterChallenge(1, 4)" style="text-align: left" id="uniChal4">Challenge 4: Generator multipliers' softcap starts at 10x and Generator Bought boosts' softcap starts at 1, but Generator Boost's 1st effect is much stronger<br>Require: 101 Generator VIII, Goal: <text id="uniChal4Goal"></text> Atoms, Reward: Generator Boost's first 2 effects are 20x stronger and first one's effect is also raised to the power of 1.65 <text id="uniChal4Comp"></text></button>
</div>
<div id="tab4">
<button onclick="toggleAutomation(1)" style="text-align: left" id="toggleAutomation1">Auto Generators: <text id="auto1"></text></button>
<button onclick="toggleAutomation(2)" style="text-align: left" id="toggleAutomation2">Auto Generator Boosts: <text id="auto2"></text></button>
</div>
<div id="tab101">
<button onclick="save2()">Save your game</button>
<button onclick="exporty()">Export your game</button>
<button onclick="importy()">Import your game</button>
<button onclick="resetConf()">Reset your game</button>
<br>
<button onclick="toggleNotation()" id="notation">Notation: Scientific</button>
<button onclick="toggleTimeDisplay()" id="timedisplay">Time: Long Display</button>
<button onclick="toggleProductionDisplay()" id="productiondisplay">Production Display: Addition</button>
<br>
<button onclick="toggleAlternateDisplay()" id="alternatedisplay">Alternate Display: OFF</button>
<br><br>
<a href="https://discord.gg/QgKE6xp">Game Server</a> | <a href="https://github.com/1e1000000/universal-idle">Source Code</a> | <a href="https://discord.gg/dvXxYfF">User Server</a> | <a href="https://docs.google.com/document/d/1OQtvBEINop_UuG0Ozs00mSaLd1x_8Yw82ZZMj15POcs/edit">Change Log</a>
<br>
Current Version: v1.2.0.1 | Current Build: 20210219.1
</div>
<div id="tab102">
<text id="statistic1"></text>
<br>
<text id="statistic4"></text>
<br>
<text id="statistic2"></text>
<br>
<text id="statistic3"></text>
<br>
<text id="statistic5"></text>
<br><br>
<b>Note: The following stats are estimated as a Logarithm</b>
<br>
<text id="resourcestat1"></text>
<br>
<text id="resourcestat2"></text>
<br>
<text id="resourcestat3"></text>
<br>
</div>
<div id="tab103">
<p>Achievements Completed: <text id="achieveTotal"></text> (Total: 24)</p>
Set 1: <text id="achP1"></text><br>
1. You gotta start somewhere: Buy a Generator I. <text id="ach11"></text><br>
2. 1000 atoms is a lot: Buy a Generator II. <text id="ach12"></text><br>
3. Half life 3 CONFIRMED: Buy a Generator III. <text id="ach13"></text><br>
4. L4G: Left 4 Generators: Buy a Generator IV.<text id="ach14"></text><br>
5. 5 Generator Atom Punch: Buy a Generator V. <text id="ach15"></text><br>
6. We couldn't afford 9: Buy a Generator VI. <text id="ach16"></text><br>
7. Not a luck related achievement: Buy a Generator VII. <text id="ach17"></text><br>
8. 90 degrees to infinity: Buy a Generator VIII. <text id="ach18"></text><br>
Full Set reward: Your Atoms explain Universe Size. <text id="achS1"></text><br><br>
Set 2: <text id="achP2"></text><br>
1. Universal Collapser: Perform a Universe reset. Reward: Unlock Generator Boost and you gain Atoms 10x faster. <text id="ach21"></text><br>
2. The Ninth Generator is a lie: Have Exactly 9 Generator VIII. Reward: Generator VIII is Faster based on its amount. <text id="ach22"></text><br>
3. Equality: Bought same amount of each Generator 1-8 and Generator Boost (at least 1). <text id="ach23"></text><br>
4. Where is the Generator 8: Reach <text id="ach24Goal">1e100</text> Atoms with no Generator VIII or Generator Boost. Reward: Generator VIII is faster based on Generator Boosts. <text id="ach24"></text><br>
5. This is Hard: Universe reset with no Generator 5-8. <text id="ach25"></text><br>
6. Overpowered: Reach <text id="ach26Goal">1e48</text>x Power of any Generator. <text id="ach26"></text><br>
7. Squared Universe: Reach <text id="ach27Goal">7.744e53</text> meters universe size. <text id="ach27"></text><br>
8. To Infinity: Reach <text id="ach28Goal">1.80e308</text> Atoms, Reward: Raise all Generator multiplier to the power of 1+log10(Atoms)/30000, with a maximum of ^1.01. <text id="ach28"></text><br>
Full Set reward: Universe Explain <text id="achS2Reward">1e10</text>x faster and Unlock Universe Challenges <text id="achS2"></text><br><br>
Set 3: <text id="achP3"></text><br>
1. Universal Challenger: Complete a Universe Challenge, Reward: Remove the limit of Atoms and all Generators are always available. <text id="ach31"></text><br>
2. log(Infinity) Universes at once: Universe Reset for at least 308.25 Universe Points, Reward: Time goes faster based on your Achievement completions. <text id="ach32"></text><br>
3. Two Generators: Reach <text id="ach33Goal">1e100</text> Atoms with no Generators 3-8 or Generator Boosts. <text id="ach33"></text><br>
4. How do you do this: Reach <text id="ach34Goal">1e140</text> Atoms in Challenge 1 without Generator Boosting, Reward: Unlock automation for Generators. <text id="ach34"></text><br>
5. Universes of Theory: Reach <text id="ach35Goal">1e7</text> Universe Points <text id="ach35"></text><br>
6. Hyper Generator Boost: Buy 10 Generator Boosts. <text id="ach36"></text><br>
7. This seems impossible: Reach <text id="ach37Goal">1e150</text> Atoms in Challenge 2 without Generator Boosts. <text id="ach37"></text><br>
8. Ultimate Universes: Reach <text id="ach38Goal">1e1200</text> Atoms, Reward: Unlock automation for Generator Boosts and Generator Boost's 3<sup>rd</sup> effect is now based on best Generator Boosts <text id="ach38"></text><br>
Full Set reward: Universe Upgrade 3 affect Time Speed with reduced effect and Unlock ??? <text id="achS3"></text><br><br>
</div>
<div id="tab104">
<h1>Softcaps</h1>
<p id="softcaps_size"></p>
<p id="softcaps_generator_bought"></p>
<p id="softcaps_generator_multi"></p>
<p id="softcaps_universe_upgrade_6"></p>
<p id="softcaps_universe_points_gain"></p>
<p id="softcaps_universe_upgrade_r1"></p>
<p id="softcaps_universe_upgrade_r2"></p>
</div>
<br><br><br>