mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-22 00:21:32 +00:00
Updated upgrades docs to reflect code changes
This commit is contained in:
parent
1df3fac4b6
commit
b8c2d02574
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ Useful functions for dealing with Upgrades and implementing their effects:
|
||||||
- hasUpgrade(layer, id): determine if the player has the upgrade
|
- hasUpgrade(layer, id): determine if the player has the upgrade
|
||||||
- upgradeEffect(layer, id): Returns the current effects of the upgrade, if any
|
- 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:
|
Upgrades are stored in the following format:
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Upgrades are stored in the following format:
|
||||||
rows: # of rows
|
rows: # of rows
|
||||||
cols: # of columns
|
cols: # of columns
|
||||||
11: {
|
11: {
|
||||||
desc: "Blah",
|
description: "Blah",
|
||||||
more features
|
more features
|
||||||
}
|
}
|
||||||
etc
|
etc
|
||||||
|
|
Loading…
Reference in a new issue