mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-21 16:13:55 +00:00
Is it fixed
This commit is contained in:
parent
1f0ccee7c5
commit
fa5dbbf0b5
2 changed files with 12 additions and 12 deletions
|
@ -2,12 +2,12 @@
|
|||
|
||||
Milestones should be formatted like this:
|
||||
|
||||
``milestones: {
|
||||
0: {
|
||||
requirementDesc: "123 waffles",
|
||||
milestones: {
|
||||
0: {
|
||||
requirementDesc: "123 waffles",
|
||||
}
|
||||
etc
|
||||
}
|
||||
etc
|
||||
}``
|
||||
|
||||
You can use inChall(layer, id) and hasChall(layer, id) to determine if the player is currently in a challenge,
|
||||
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
Upgrades are stored in the following format:
|
||||
|
||||
``upgrades: {
|
||||
rows: # of rows
|
||||
cols: # of columns
|
||||
11: {
|
||||
desc: "Blah",
|
||||
upgrades: {
|
||||
rows: # of rows
|
||||
cols: # of columns
|
||||
11: {
|
||||
desc: "Blah",
|
||||
etc
|
||||
}
|
||||
etc
|
||||
}
|
||||
etc
|
||||
}``
|
||||
|
||||
You can use hasUpg(layer, id) to determine if the player has an upgrade. This is useful for implementing bonuses.
|
||||
|
||||
|
|
Loading…
Reference in a new issue