mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-04-16 10:50:59 +00:00
Made point generation make sense
This commit is contained in:
parent
18898f519e
commit
e9d0f17d41
5 changed files with 20 additions and 18 deletions
|
@ -178,9 +178,6 @@ addLayer("c", {
|
|||
if(layers[resettingLayer].row > this.row) fullLayerReset(this.layer) // This is actually the default behavior
|
||||
},
|
||||
layerShown() {return true}, // Condition for when layer appears on the tree
|
||||
update(diff) {
|
||||
if (player[this.layer].upgrades.includes(11)) player.points = player.points.add(tmp.pointGen.times(diff)).max(0)
|
||||
}, // Do any gameloop things (e.g. resource generation) inherent to this layer
|
||||
automate() {
|
||||
}, // Do any automation inherent to this layer if appropriate
|
||||
resetsNothing() {return false},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue