mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-22 00:21:32 +00:00
Added code blocks to 2.0 format changes documentation
This commit is contained in:
parent
1df3fac4b6
commit
4451a402f6
1 changed files with 17 additions and 18 deletions
|
@ -1,28 +1,27 @@
|
||||||
# 2.0 format changes
|
# 2.0 format changes
|
||||||
|
|
||||||
- Temp format is changed from temp.something[layer] to temp[layer]. something, for consistency
|
- Temp format is changed from `temp.something[layer]` to `temp[layer].something`, for consistency
|
||||||
- Challenges are now saved as an object with the amount of completions in each spot. (This will break saves.)
|
- Challenges are now saved as an object with the amount of completions in each spot. (This will break saves.)
|
||||||
- effectDisplay in Challenges and Upgrades no longer takes an argument, and neither does effect for Buyables
|
- `effectDisplay` in Challenges and Upgrades no longer takes an argument, and neither does `effect` for Buyables
|
||||||
- Buyable cost can take an argument for amount of buyables, but it needs to function if no argument is supplied (it should do the cost for the next purchase).
|
- Buyable cost can take an argument for amount of buyables, but it needs to function if no argument is supplied (it should do the cost for the next purchase).
|
||||||
- Generation of Points now happens in the main game loop (not in a layer update function), enabled by canGenPoints in game.js.
|
- Generation of Points now happens in the main game loop (not in a layer update function), enabled by `canGenPoints` in [game.js](js/game.js).
|
||||||
- Changed fullLayerReset to layerDataReset, which takes an array of names of values to keep
|
- Changed `fullLayerReset` to `layerDataReset`, which takes an array of names of values to keep
|
||||||
|
|
||||||
In addition, many names were changed, mostly expanding abbreviations:
|
In addition, many names were changed, mostly expanding abbreviations:
|
||||||
|
|
||||||
All instances of:
|
All instances of:
|
||||||
chall -> challenge
|
- chall -> challenge
|
||||||
unl -> unlocked
|
- unl -> unlocked
|
||||||
upg -> upgrade (besides CSS)
|
- upg -> upgrade (besides CSS)
|
||||||
amt -> amount
|
- amt -> amount
|
||||||
desc -> description
|
- desc -> description
|
||||||
resCeil -> roundUpCost
|
- resCeil -> roundUpCost
|
||||||
order -> unlockOrder
|
- order -> unlockOrder
|
||||||
incr_order -> increaseUnlockOrder
|
- incr_order -> increaseUnlockOrder
|
||||||
|
|
||||||
Challenges:
|
Challenges:
|
||||||
desc -> challengeDescription
|
- desc -> challengeDescription
|
||||||
reward -> rewardDescription
|
- reward -> rewardDescription
|
||||||
effect -> rewardEffect
|
- effect -> rewardEffect
|
||||||
effectDisplay -> rewardDisplay
|
- effectDisplay -> rewardDisplay
|
||||||
active -> challengeActive
|
- active -> challengeActive
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue