1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-11-28 02:51:55 +00:00

Merge pull request #7 from thepaperpilot/upgradesdocs

Updated upgrades docs to reflect code changes
This commit is contained in:
Harley White 2020-10-19 19:32:50 -04:00 committed by GitHub
commit 67f31bbda4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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