From fa5dbbf0b5eeeaa89d9fe8bc7a29c5925638c6f2 Mon Sep 17 00:00:00 2001 From: Acamaeda Date: Thu, 1 Oct 2020 01:43:30 -0400 Subject: [PATCH] Is it fixed --- docs/milestones.md | 10 +++++----- docs/upgrades.md | 14 +++++++------- 2 files changed, 12 insertions(+), 12 deletions(-) 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.