1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-11-24 17:31:50 +00:00

Small tweak to docs

This commit is contained in:
Acamaeda 2020-10-01 01:56:07 -04:00
parent 2f588b5215
commit 7b0e07b7fd

View file

@ -13,6 +13,7 @@ Upgrades are stored in the following format:
} }
You can use hasUpg(layer, id) to determine if the player has an upgrade. This is useful for implementing bonuses. You can use hasUpg(layer, id) to determine if the player has an upgrade. This is useful for implementing bonuses.
Hint: Basic point gain is calculated in game.js's "getPointGain".
Each upgrade should have an id where the first digit is the row and the second digit is the column. Each upgrade should have an id where the first digit is the row and the second digit is the column.
Individual upgrades can have these features: Individual upgrades can have these features: