diff --git a/docs/milestones.md b/docs/milestones.md index e73fecd..60b91bb 100644 --- a/docs/milestones.md +++ b/docs/milestones.md @@ -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, diff --git a/docs/upgrades.md b/docs/upgrades.md index 6e407fd..f934dbd 100644 --- a/docs/upgrades.md +++ b/docs/upgrades.md @@ -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.