mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-22 00:21:32 +00:00
More fixes I hope
This commit is contained in:
parent
62d0753d50
commit
1f0ccee7c5
6 changed files with 30 additions and 29 deletions
|
@ -5,7 +5,7 @@ the player can reset the purchases to get their currency back.
|
|||
|
||||
Buyables should be formatted like this:
|
||||
|
||||
`` buyables: {
|
||||
``buyables: {
|
||||
rows: # of rows
|
||||
cols: # of columns
|
||||
respec() {}, **optional**, implement it to reset things and give back your currency.
|
||||
|
@ -16,7 +16,7 @@ Buyables should be formatted like this:
|
|||
etc
|
||||
}
|
||||
etc
|
||||
} ``
|
||||
}``
|
||||
|
||||
Features:
|
||||
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
|
||||
Custom tab layouts can be used to do basically anything in a tab window, especially combined with the "style" layer feature. The tabFormat feature is an array of things, like this:
|
||||
|
||||
`` tabFormat: ["main-display",
|
||||
``
|
||||
tabFormat: ["main-display",
|
||||
["prestige-button", function(){return "Melt your points into "}],
|
||||
["raw-html", function() {return "<button onclick='console.log(`yeet`)'>'HI'</button>"}],
|
||||
["display-text",
|
||||
|
|
Loading…
Reference in a new issue