1
0
Fork 0
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:
Acamaeda 2020-11-25 02:14:59 -05:00
parent 8ba79cbe3a
commit 50102b3be2
7 changed files with 24 additions and 51 deletions

View file

@ -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)}
},