From b8c2d0257488d0f2ee7635bf0266dea4d681f051 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 18 Oct 2020 22:14:45 -0500 Subject: [PATCH] Updated upgrades docs to reflect code changes --- docs/upgrades.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/upgrades.md b/docs/upgrades.md index fdaaade..d628268 100644 --- a/docs/upgrades.md +++ b/docs/upgrades.md @@ -5,7 +5,7 @@ Useful functions for dealing with Upgrades and implementing their effects: - hasUpgrade(layer, id): determine if the player has the upgrade - upgradeEffect(layer, id): Returns the current effects of the upgrade, if any -Hint: Basic point gain is calculated in game.js's "getPointGain". +Hint: Basic point gain is calculated in mod.js's "getPointGen". Upgrades are stored in the following format: @@ -14,7 +14,7 @@ Upgrades are stored in the following format: rows: # of rows cols: # of columns 11: { - desc: "Blah", + description: "Blah", more features } etc