mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-04-22 17:21:06 +00:00
Centralized layer node components and styles removing duplicated code
This commit is contained in:
parent
8ba79cbe3a
commit
50102b3be2
7 changed files with 24 additions and 51 deletions
js/Demo
|
@ -37,7 +37,7 @@ addNode("h", {
|
|||
layerShown: true,
|
||||
tooltip: "Restore your points to 10",
|
||||
tooltipLocked: "Restore your points to 10",
|
||||
|
||||
row: "side",
|
||||
canClick() {return player.points.lt(10)},
|
||||
onClick() {player.points = new Decimal(10)}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue