mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-05-10 12:01:32 +00:00
unl is now optional for Big Components, spacing isn't messed up by absent components
This commit is contained in:
parent
8840d02a9b
commit
5770f03dd1
5 changed files with 28 additions and 10 deletions
|
@ -59,8 +59,8 @@ addLayer("c", {
|
|||
},
|
||||
},
|
||||
challs: {
|
||||
rows: 1,
|
||||
cols: 1,
|
||||
rows: 2,
|
||||
cols: 12,
|
||||
11: {
|
||||
name:() => "Fun",
|
||||
desc:() => "Makes the game 0% harder",
|
||||
|
@ -129,7 +129,7 @@ addLayer("c", {
|
|||
},
|
||||
buyables: {
|
||||
rows: 1,
|
||||
cols: 1,
|
||||
cols: 12,
|
||||
respec() { // Optional, reset things and give back your currency. Having this function makes a respec button appear
|
||||
player[this.layer].points = player[this.layer].points.add(player[this.layer].spentOnBuyables) // A built-in thing to keep track of this but only keeps a single value
|
||||
resetBuyables(this.layer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue