From c01398cb187538e2ba6689c25d1b2fa8be01b086 Mon Sep 17 00:00:00 2001 From: Icecreamdude <72051053+Icecreamdudes@users.noreply.github.com> Date: Mon, 28 Oct 2024 21:52:09 -0400 Subject: [PATCH] d --- js/cantepocalypsePuzzle.js | 2 +- js/infinityPoints.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/js/cantepocalypsePuzzle.js b/js/cantepocalypsePuzzle.js index 8b1be5e..9f45440 100644 --- a/js/cantepocalypsePuzzle.js +++ b/js/cantepocalypsePuzzle.js @@ -58,7 +58,7 @@ addLayer("cap", { player.cap.reqDisplay = "Answer questions about your journey so far." } - if (hasUpgrade("i", 31) && hasUpgrade("i", 32) && hasUpgrade("i", 33) && hasUpgrade("i", 34) && hasUpgrade("i", 35)) + if (hasUpgrade("i", 31) && hasUpgrade("i", 32) && hasUpgrade("i", 33) && hasUpgrade("i", 34)) { player.cap.passingReqs[0] = true } diff --git a/js/infinityPoints.js b/js/infinityPoints.js index 98f136f..640b0fb 100644 --- a/js/infinityPoints.js +++ b/js/infinityPoints.js @@ -678,7 +678,7 @@ goal() { return new Decimal("1.79e308") }, canComplete: function () { return player.points.gte(1.79e308) }, rewardDescription: "....???", - unlocked() { return hasChallenge("ip", 17) }, + unlocked() { return hasChallenge("ip", 17) && !hasChallenge('ip', 18) }, onEnter() { player.in.infinityPause = new Decimal(5) }, @@ -740,6 +740,8 @@ ["blank", "25px"], ["row", [["challenge", 11], ["challenge", 12], ["challenge", 13], ["challenge", 14]]], ["row", [["challenge", 15], ["challenge", 16], ["challenge", 17], ["challenge", 18]]], + ["blank", "25px"], + ["raw-html", function () { return hasChallenge("ip", 18) ? "CHALLENGE VIII HAS BEEN TERMINATED." : ""}, { "color": "white", "font-size": "24px", "font-family": "monospace" }], ] },