Added Yet Another Theme

This commit is contained in:
Nif 2024-03-15 18:30:25 +00:00
parent e02defcdfa
commit 5ad2cf2ec7
2 changed files with 12 additions and 1 deletions
js/data

View file

@ -168,7 +168,7 @@ addLayer("f", {
21: {
display() { return "Reset directory" },
onClick() {
if (confirm("Are you sure you want to respec?")) {
if (confirm("Are you sure you want to respec? This will cause a File reset.")) {
if (player[this.layer].upgrades == 0) {
player.ach.has55 = true
}
@ -176,6 +176,7 @@ addLayer("f", {
player[this.layer].points = player[this.layer].points.add(tmp[this.layer].upgrades[i].cost)
}
player[this.layer].upgrades = []
doReset('f', true)
}
},
canClick() { return true },