2020-10-15 02:13:29 +00:00
# 2.0 format changes
2020-10-19 01:27:03 +00:00
- Temp format is changed from `temp.something[layer]` to `temp[layer].something` , for consistency
2020-10-15 02:13:29 +00:00
- Challenges are now saved as an object with the amount of completions in each spot. (This will break saves.)
2020-10-19 01:27:03 +00:00
- `effectDisplay` in Challenges and Upgrades no longer takes an argument, and neither does `effect` for Buyables
2020-10-15 02:13:29 +00:00
- 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).
2020-10-19 01:27:03 +00:00
- 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
2020-10-15 02:13:29 +00:00
In addition, many names were changed, mostly expanding abbreviations:
All instances of:
2020-10-19 01:27:03 +00:00
- chall -> challenge
- unl -> unlocked
- upg -> upgrade (besides CSS)
- amt -> amount
- desc -> description
- resCeil -> roundUpCost
- order -> unlockOrder
- incr_order -> increaseUnlockOrder
2020-10-15 02:13:29 +00:00
Challenges:
2020-10-19 01:27:03 +00:00
- desc -> challengeDescription
- reward -> rewardDescription
- effect -> rewardEffect
- effectDisplay -> rewardDisplay
- active -> challengeActive