From 45ebf4c002f2b600715d5aa1a8c3c1bdb53f881c Mon Sep 17 00:00:00 2001 From: Acamaeda Date: Thu, 8 Oct 2020 01:38:08 -0400 Subject: [PATCH] Fixed text on the farm button, and added a special message --- js/layers.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/layers.js b/js/layers.js index 9e25792..52be58a 100644 --- a/js/layers.js +++ b/js/layers.js @@ -299,13 +299,14 @@ addLayer("f", { }, midsection: [ - "blank", ['display-image', 'https://images.beano.com/store/24ab3094eb95e5373bca1ccd6f330d4406db8d1f517fc4170b32e146f80d?auto=compress%2Cformat&dpr=1&w=390'] + "blank", ['display-image', 'https://images.beano.com/store/24ab3094eb95e5373bca1ccd6f330d4406db8d1f517fc4170b32e146f80d?auto=compress%2Cformat&dpr=1&w=390'], + ["display-text", "Bork bork!"] ], // The following are only currently used for "custom" Prestige type: prestigeButtonText() { //Is secretly HTML if (!this.canBuyMax()) return "Hi! I'm a weird dinosaur and I'll give you a Farm Point in exchange for all of your candies and lollipops! (At least " + formatWhole(tmp.nextAt[layer]) + " candies)" - if (this.canBuyMax()) return "Hi! I'm a weird dinosaur and I'll give you " + formatWhole(tmp.resetGain[this.layer]) + " Farm Points in exchange for all of your candies and lollipops! (You'll get another one at " + format(tmp.nextAt[layer]) + " candies)" + if (this.canBuyMax()) return "Hi! I'm a weird dinosaur and I'll give you " + formatWhole(tmp.resetGain[this.layer]) + " Farm Points in exchange for all of your candies and lollipops! (You'll get another one at " + formatWhole(tmp.nextAtDisp[layer]) + " candies)" }, getResetGain() { return getResetGain(this.layer, useType = "static")