mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2024-11-10 14:12:02 +00:00
fix rupg reqs, switch achievements come back thing, add third row of eternity upgrades (not functional yet)
This commit is contained in:
parent
953d667240
commit
aa2e8adeab
13
index.html
13
index.html
@ -1188,6 +1188,8 @@
|
||||
<div id="normalachievements" class="achtab">
|
||||
<div id="achmultlabel" style="font-size: 140%">Current achievement multiplier on each Dimension: 1x</div>
|
||||
<div id="nextAchAt" style="font-size: 140%">Next achievement in</div>
|
||||
<br>
|
||||
<div id="timeForAchievements" style="color: black; font-size: 12px; width: 40%; margin: 5px auto">You will regain your achievements in the span of</div>
|
||||
<table id="achievementtable" style="margin: auto">
|
||||
<tr id="achRow1">
|
||||
<td>
|
||||
@ -2705,9 +2707,7 @@
|
||||
<div id="glyphstab" class="realitytab">
|
||||
<div>
|
||||
<button id="realitymachine" onclick="reality()">Make a new reality<br>Machines gained: 1<br>Glyph level: 1</button>
|
||||
<br>
|
||||
<div id="timeForAchievements" style="color: black; font-size: 12px; width: 40%; margin: 5px auto">You will regain your achievements in the span of</div>
|
||||
<br>
|
||||
<br><br>
|
||||
<button class="realityUpgrade" onclick="toggleGlyphRespec()" id="glyphRespec" style="width:150px; height: 40px; margin: auto">Clear glyph slots on Reality</button>
|
||||
</div>
|
||||
<div id="glyphslots">
|
||||
@ -2739,6 +2739,13 @@
|
||||
<td><div class="realityUpgrade" onclick="buyRealityUpg(9)" id="rupg9"><b>Requires: Reality with only a single glyph with a level 3 or higher.</b><br>Gain another glyph slot<br>Cost: 15 RM</div></td>
|
||||
<td><div class="realityUpgrade" onclick="buyRealityUpg(10)" id="rupg10"><b>Requires: Do your first Eternity with 1e600 IP</b><br>Start with 100 eternities<br>Cost: 15 RM</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><div class="realityUpgrade" onclick="buyRealityUpg(11)" id="rupg11"><b>Requires: dunno</b><br>Gain 10% of the infinities you would gain by infinitying each second.<br>Cost: 50 RM</div></td>
|
||||
<td><div class="realityUpgrade" onclick="buyRealityUpg(12)" id="rupg12"><b>Requires: dunno</b><br>EP mult based on realities and TT<br>Cost: 50 RM</div></td>
|
||||
<td><div class="realityUpgrade" onclick="buyRealityUpg(13)" id="rupg13"><b>Requires: dunno</b><br>More eternity autobuyer options<br>Cost: 50 RM</div></td>
|
||||
<td><div class="realityUpgrade" onclick="buyRealityUpg(14)" id="rupg14"><b>Requires: dunno</b><br>EP multiplier autobuyer<br>Cost: 50 RM</div></td>
|
||||
<td><div class="realityUpgrade" onclick="buyRealityUpg(15)" id="rupg15"><b>Requires: dunno</b><br>Time dimension autobuyers<br>Cost: 50 RM</div></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="automation" class="realitytab" style="display: none;">
|
||||
|
@ -505,7 +505,7 @@ function drop(ev) {
|
||||
mouseOn = $("document")
|
||||
}
|
||||
|
||||
const REALITY_UPGRADE_COSTS = [null, 1, 2, 2, 3, 4, 15, 15, 15, 15, 15]
|
||||
const REALITY_UPGRADE_COSTS = [null, 1, 2, 2, 3, 4, 15, 15, 15, 15, 15, 50, 50, 50, 50, 50]
|
||||
|
||||
function canBuyRealityUpg(id) {
|
||||
if (player.reality.realityMachines.lt(REALITY_UPGRADE_COSTS[id])) return false // Has enough RM
|
||||
|
@ -2623,10 +2623,18 @@ document.getElementById("bigcrunch").onclick = function () {
|
||||
if (failureCount > 9) giveAchievement("You're a failure")
|
||||
}
|
||||
}
|
||||
|
||||
if (player.realities > 0 && player.eternities == 0 && player.infinitied == 0) {
|
||||
if ( checkForRUPG8() ) player.reality.upgReqs[8] = true;
|
||||
}
|
||||
|
||||
if (autoS && auto) {
|
||||
if (gainedInfinityPoints().dividedBy(player.thisInfinityTime/100).gt(player.autoIP) && !player.break) player.autoIP = gainedInfinityPoints().dividedBy(player.thisInfinityTime/100);
|
||||
if (player.thisInfinityTime<player.autoTime) player.autoTime = player.thisInfinityTime;
|
||||
}
|
||||
|
||||
|
||||
|
||||
auto = autoS; //only allow autoing if prev crunch was autoed
|
||||
autoS = true;
|
||||
player = {
|
||||
@ -2868,9 +2876,6 @@ document.getElementById("bigcrunch").onclick = function () {
|
||||
|
||||
Marathon2 = 0;
|
||||
|
||||
if (player.realities > 0 && player.eternities == 0 && player.infinitied == 1) {
|
||||
if ( checkForRUPG8() ) player.reality.upgReqs[8] = true;
|
||||
}
|
||||
|
||||
}
|
||||
updateChallenges();
|
||||
@ -3588,6 +3593,7 @@ function reality(force) {
|
||||
if (player.reality.upg.includes(10)) player.eternities = 100
|
||||
|
||||
if (player.realities == 4) player.reality.automatorCommands = [12, 23, 24]
|
||||
player.reality.upgReqChecks = [true]
|
||||
updateAutobuyers();
|
||||
resetInfDimensions();
|
||||
updateChallenges();
|
||||
@ -5023,8 +5029,8 @@ setInterval(function() {
|
||||
if (player.realities > 0) document.getElementById("nextAchAt").textContent = "Next achievement in " + timeDisplay(nextAchIn(), false)
|
||||
else document.getElementById("nextAchAt").textContent = ""
|
||||
|
||||
$("#timeForAchievements").text("You will gain your achievements back over the span of " + timeDisplay(60000 * 24 * DAYS_FOR_ALL_ACHS * 60 * Math.pow(0.9, Math.max(player.realities, 0)) ) )
|
||||
|
||||
$("#timeForAchievements").text("You will gain your achievements back over the span of " + timeDisplay(60000 * 24 * DAYS_FOR_ALL_ACHS * 60 * Math.pow(0.9, Math.max(player.realities-1, 0)) ) )
|
||||
if (player.realities == 0) $("#timeForAchievements").text("")
|
||||
if (player.realities > 3) {
|
||||
$("#automatorUnlock").hide()
|
||||
$(".automator-container").show()
|
||||
|
Loading…
Reference in New Issue
Block a user