generated from incremental-social/The-Modding-Tree
Added Yet Another Theme
This commit is contained in:
parent
e02defcdfa
commit
5ad2cf2ec7
2 changed files with 12 additions and 1 deletions
|
@ -168,7 +168,7 @@ addLayer("f", {
|
||||||
21: {
|
21: {
|
||||||
display() { return "Reset directory" },
|
display() { return "Reset directory" },
|
||||||
onClick() {
|
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) {
|
if (player[this.layer].upgrades == 0) {
|
||||||
player.ach.has55 = true
|
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].points = player[this.layer].points.add(tmp[this.layer].upgrades[i].cost)
|
||||||
}
|
}
|
||||||
player[this.layer].upgrades = []
|
player[this.layer].upgrades = []
|
||||||
|
doReset('f', true)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
canClick() { return true },
|
canClick() { return true },
|
||||||
|
|
|
@ -30,6 +30,16 @@ var colors = {
|
||||||
background: "#0d180e",
|
background: "#0d180e",
|
||||||
background_tooltip: "rgba(0, 22, 3, 0.75)",
|
background_tooltip: "rgba(0, 22, 3, 0.75)",
|
||||||
},
|
},
|
||||||
|
crimson: {
|
||||||
|
1: "#f1b8b8",
|
||||||
|
2: "#c28282",
|
||||||
|
3: "#9f5555",
|
||||||
|
color: "#f1b8b8",
|
||||||
|
points: "#fcefef",
|
||||||
|
locked: "#c4a7b3",
|
||||||
|
background: "#251010",
|
||||||
|
background_tooltip: "rgba(26, 13, 13, 0.75)",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
function changeTheme() {
|
function changeTheme() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue