()
| 87 | } |
| 88 | |
| 89 | private clickedBuyScytheButton(): void{ |
| 90 | if(this.getGame().getCandies().getCurrent() >= 5000000){ |
| 91 | this.getGame().getCandies().add(-5000000); // -5000000 candies |
| 92 | Saving.saveBool("forgeBoughtScythe", true); // We bought the scythe |
| 93 | this.getGame().gainItem("eqItemWeaponScythe"); // We now own the scythe |
| 94 | this.currentSpeech = "mapVillageForgeBuyScytheSpeech"; // New speech |
| 95 | // We update |
| 96 | this.update(); |
| 97 | this.getGame().updatePlace(); |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | private clickedBuyWoodenSwordButton(): void{ |
| 102 | if(this.getGame().getCandies().getCurrent() >= 150){ |
nothing calls this directly
no test coverage detected