mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-21 16:13:55 +00:00
Fixed minor bugs, made arrow background transparent. Made colors in the sample less obnoxious.
This commit is contained in:
parent
28282790d5
commit
9a8ab8b17c
2 changed files with 6 additions and 6 deletions
|
@ -8,7 +8,7 @@ addLayer("c", {
|
||||||
buyables: {}, // You don't actually have to initialize this one
|
buyables: {}, // You don't actually have to initialize this one
|
||||||
beep: false,
|
beep: false,
|
||||||
}},
|
}},
|
||||||
color:() => "#4BEC13",
|
color:() => "#4BDC13",
|
||||||
requires:() => new Decimal(10), // Can be a function that takes requirement increases into account
|
requires:() => new Decimal(10), // Can be a function that takes requirement increases into account
|
||||||
resource: "lollipops", // Name of prestige currency
|
resource: "lollipops", // Name of prestige currency
|
||||||
baseResource: "candies", // Name of resource prestige is based on
|
baseResource: "candies", // Name of resource prestige is based on
|
||||||
|
@ -166,8 +166,8 @@ addLayer("c", {
|
||||||
}, // Useful for if you gain secondary resources or have other interesting things happen to this layer when you reset it. You gain the currency after this function ends.
|
}, // Useful for if you gain secondary resources or have other interesting things happen to this layer when you reset it. You gain the currency after this function ends.
|
||||||
|
|
||||||
hotkeys: [
|
hotkeys: [
|
||||||
{key: this.layer, desc: "C: reset for lollipops or whatever", onPress(){if (player[this.layer].unl) doReset(this.layer)}},
|
{key: "c", desc: "C: reset for lollipops or whatever", onPress(){if (player[this.layer].unl) doReset(this.layer)}},
|
||||||
{key: "ctrl+" + this.layer, desc: "Ctrl+c: respec things", onPress(){if (player[this.layer].unl) respecBuyables(this.layer)}},
|
{key: "ctrl+c" + this.layer, desc: "Ctrl+c: respec things", onPress(){if (player[this.layer].unl) respecBuyables(this.layer)}},
|
||||||
],
|
],
|
||||||
incr_order: [], // Array of layer names to have their order increased when this one is first unlocked
|
incr_order: [], // Array of layer names to have their order increased when this one is first unlocked
|
||||||
|
|
||||||
|
@ -182,7 +182,7 @@ addLayer("c", {
|
||||||
["toggle", ["c", "beep"]],
|
["toggle", ["c", "beep"]],
|
||||||
"milestones", "upgrades", "challs"],
|
"milestones", "upgrades", "challs"],
|
||||||
style() {return {
|
style() {return {
|
||||||
'background-color': 'blue'
|
'background-color': '#3325CC'
|
||||||
}},
|
}},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -112,8 +112,8 @@ h1, h2, h3, b, input {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
left: 0px;
|
left: 0px;
|
||||||
background-color: var(--background);
|
background-color: transparent;
|
||||||
border: 1px solid var(--background);
|
border: 1px solid transparent;
|
||||||
color: var(--color);
|
color: var(--color);
|
||||||
font-size: 40px;
|
font-size: 40px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
Loading…
Reference in a new issue