mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-02-16 09:41:41 +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 should be formatted like this:
|
||||||
|
|
||||||
`` buyables: {
|
``buyables: {
|
||||||
rows: # of rows
|
rows: # of rows
|
||||||
cols: # of columns
|
cols: # of columns
|
||||||
respec() {}, **optional**, implement it to reset things and give back your currency.
|
respec() {}, **optional**, implement it to reset things and give back your currency.
|
||||||
|
@ -16,7 +16,7 @@ Buyables should be formatted like this:
|
||||||
etc
|
etc
|
||||||
}
|
}
|
||||||
etc
|
etc
|
||||||
} ``
|
}``
|
||||||
|
|
||||||
Features:
|
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:
|
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 "}],
|
["prestige-button", function(){return "Melt your points into "}],
|
||||||
["raw-html", function() {return "<button onclick='console.log(`yeet`)'>'HI'</button>"}],
|
["raw-html", function() {return "<button onclick='console.log(`yeet`)'>'HI'</button>"}],
|
||||||
["display-text",
|
["display-text",
|
||||||
|
|
Loading…
Add table
Reference in a new issue