import{_ase,casa,oast,dasi}from"./app.99998402.js";constu=JSON.parse('{"title":"2.0 format changes","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/Old Things/2.0-format-changes.md","lastUpdated":null}'),l={name:"public/lit/Old Things/2.0-format-changes.md"},n=i('<h1 id="_2-0-format-changes" tabindex="-1">2.0 format changes <a class="header-anchor" href="#_2-0-format-changes" aria-hidden="true">#</a></h1><ul><li>Temp format is changed from <code>temp.something[layer]</code> to <code>temp[layer].something</code>, for consistency</li><li>Challenges are now saved as an object with the amount of completions in each spot. (This will break saves.)</li><li><code>effectDisplay</code> in Challenges and Upgrades no longer takes an argument, and neither does <code>effect</code> for Buyables</li><li>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).</li><li>Generation of Points now happens in the main game loop (not in a layer update function), enabled by <code>canGenPoints</code> in <a href="js/game.js">game.js</a>.</li><li>Changed <code>fullLayerReset</code> to <code>layerDataReset</code>, which takes an array of names of values to keep</li></ul><p>In addition, many names were changed, mostly expanding abbreviations:</p><p>All instances of:</p><ul><li>chall -> challenge</li><li>unl -> unlocked</li><li>upg -> upgrade (besides CSS)</li><li>amt -> amount</li><li>desc -> description</li><li>resCeil -> roundUpCost</li><li>order -> unlockOrder</li><li>incr_order -> increaseUnlockOrder</li></ul><p>Challenges:</p><ul><li>desc -> challengeDescription</li><li>reward -> rewardDescription</li><li>effect -> rewardEffect</li><li>effectDisplay -> rewardDisplay</li><li>active -> challengeActive</li></ul>',7),o=[n];functions(r,c,d,h,g,p){returnt(),a("div",null,o)}constm=e(l,[["render",s]]);export{uas__pageData,masdefault};