pages/assets/public_lit_changelog.md.O4pzFPx8.js

1 line
22 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as e,c as i,o as a,a9 as l}from"./chunks/framework.D8PMdl4T.js";const b=JSON.parse('{"title":"The Modding Tree changelog:","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/changelog.md","filePath":"public/lit/changelog.md","lastUpdated":1664930832000}'),t={name:"public/lit/changelog.md"},o=l('<h1 id="the-modding-tree-changelog" tabindex="-1">The Modding Tree changelog: <a class="header-anchor" href="#the-modding-tree-changelog" aria-label="Permalink to &quot;The Modding Tree changelog:&quot;"></a></h1><h2 id="v2-π-incrementally-updated-2-5-21" tabindex="-1">v2.π: Incrementally Updated - 2/5/21 <a class="header-anchor" href="#v2-π-incrementally-updated-2-5-21" aria-label="Permalink to &quot;v2.π: Incrementally Updated - 2/5/21&quot;"></a></h2><ul><li>Performance improvements.</li><li>Fixed tooltips overlapping with the top display.</li><li>Clicking a popup dismisses it immediately.</li><li>Added support for bulk challenge completions.</li><li>&quot;Best&quot; is updated automatically.</li><li>Fixed keeping Decimal values on reset.</li><li>Code reorganization and style improvements by fudo.</li></ul><h2 id="v2-3-5-12-21-20" tabindex="-1">v2.3.5 - 12/21/20 <a class="header-anchor" href="#v2-3-5-12-21-20" aria-label="Permalink to &quot;v2.3.5 - 12/21/20&quot;"></a></h2><ul><li>Added resetTime, which tracks the time since a layer prestiged or was reset.</li><li>A layer node will be highlighted red if one of its subtabs is highlighted red.</li><li>Fixed issues with keeping challenges, buyables, and clickables on reset.</li><li>Improved the unlocking of custom layers.</li><li>Other minor fixes.</li></ul><h2 id="v2-3-4-12-16-20" tabindex="-1">v2.3.4 - 12/16/20 <a class="header-anchor" href="#v2-3-4-12-16-20" aria-label="Permalink to &quot;v2.3.4 - 12/16/20&quot;"></a></h2><ul><li>Added a node image feature.</li><li>Resource display now always shows the amount of the currency the layer&#39;s gain is based on.</li><li>Added spacing between tree nodes.</li><li>Another attempt to fix tooltip flickering.</li></ul><h2 id="v2-3-3-12-13-20" tabindex="-1">v2.3.3 - 12/13/20 <a class="header-anchor" href="#v2-3-3-12-13-20" aria-label="Permalink to &quot;v2.3.3 - 12/13/20&quot;"></a></h2><ul><li>Fixed the first node in a row always taking up space.</li><li>layerShown is now optional.</li><li>All prestige types can now use features for custom prestige types.</li></ul><h2 id="v2-3-2-12-13-20" tabindex="-1">v2.3.2 - 12/13/20 <a class="header-anchor" href="#v2-3-2-12-13-20" aria-label="Permalink to &quot;v2.3.2 - 12/13/20&quot;"></a></h2><ul><li>Fixed achievement/milestone popups.</li></ul><h2 id="v2-3-1-12-12-20" tabindex="-1">v2.3.1 - 12/12/20 <a class="header-anchor" href="#v2-3-1-12-12-20" aria-label="Permalink to &quot;v2.3.1 - 12/12/20&quot;"></a></h2><ul><li>Another attempt to fix flickering tooltips.</li><li>The &quot;this&quot; keyword should work everywhere except tabFormat arrays (although I may have missed some things).</li><li>Fixed tree branches not updating when scrolling on the right-side tab.</li><li>Fixed a spacing issue when a node&#39;s symbol is &quot;&quot;</li><li>Removed some old, unneeded files.</li></ul><h2 id="v2-3-cooler-and-newer-edition-12-10-20" tabindex="-1">v2.3: Cooler and Newer Edition - 12/10/20 <a class="header-anchor" href="#v2-3-cooler-and-newer-edition-12-10-20" aria-label="Permalink to &quot;v2.3: Cooler and Newer Edition - 12/10/20&quot;"></a></h2><ul><li>Added achievement/milestone popups (thank you to Jacorb for this contribution!)</li><li>The changelog tab is back, and can be set in mod.js.</li><li>Layer nodes and respec buttons will not be clicked by pressing &quot;enter&quot;.</li><li>Possible fix for flickering tooltips and strange transitions.</li><li>The victory screen text is configurable.</li><li>Added image and textStyle features to achievements.</li><li>Added an argument to use specific rows in an &quot;upgrades&quot; component.</li><li>Fixed the comma appearing in the main display when there was no effectDescription</li><li>Added the ability to easily make a tab that is a collection of layers in subtabs.</li><li>Improved spacing for embedding layers with subtabs into subtabs.</li></ul><h3 id="v2-2-8-12-03-20" tabindex="-1">v2.2.8 - 12/03/20 <a class="header-anchor" href="#v2-2-8-12-03-20" aria-label="Permalink to &quot;v2.2.8 - 12/03/20&quot;"></a></h3><ul><li>Double-clicking a layer node brings you to the main subtab for that layer.</li><li>Attempted to fix challenges visually updating a different way.</li><li>Added a softcap function for use in formulas.</li><li>Added displayRow feature, which lets layers be shown somewhere separate from where they are in the reset order (e.g. side layers)</li><li>Fixed autoupgrade issue.</li></ul><h3 id="v2-2-7-11-30-20" tabindex="-1">v2.2.7 - 11/30/20 <a class="header-anchor" href="#v2-2-7-11-30-20" aria-label="Permalink to &quot;v2.2.7 - 11/30/20&quot;"></a></h3><ul><li>Added autoUpgrade feature.</li><li>resource-display now shows resource gain per second if passiveGain is active.</li><li>Fixed formatting issues on some large numbers.</li><li>Better support for using classed objects in player and in layers/tmp.</li><li>Made hard resetting more effective.</li><li>Removed Herobrine from getStartClickables.</li></ul><h3 id="v2-2-6-11-30-20" tabindex="-1">v2.2.6 - 11/30/20 <a class="header-anchor" href="#v2-2-6-11-30-20" aria-label="Permalink to &quot;v2.2.6 - 11/30/20&quot;"></a></h3><ul><li>Added goalDescription for challenges and made the new &quot;canComplete&quot; system the standard.</li><li>Another attempt to fix challenges not visually updating.</li><li>Fixed side layers not appearing.</li><li>Fixed getStartClickables again.</li></ul><h3 id="v2-2-5-11-29-20" tabindex="-1">v2.2.5 - 11/29/20 <a class="header-anchor" href="#v2-2-5-11-29-20" aria-label="Permalink to &quot;v2.2.5 - 11/29/20&quot;"></a></h3><ul><li>Added features for overriding the displays and costs/goals of upgrades and challenges to make them fully custom.</li><li>best, total, and unlocked are always automatically added to layerData (but best and total will only display if you add them yourself).</li><li>Fixed getStartClickables.</li></ul><h3 id="v2-2-4-11-28-20" tabindex="-1">v2.2.4 - 11/28/20 <a class="header-anchor" href="#v2-2-4-11-28-20" aria-label="Permalink to &quot;v2.2.4 - 11/28/20&quot;"></a></h3><ul><li>Added softcap and softcapPower features (for Normal layers)</li><li>Offline time limit and default max tick length were fixed (previously the limits were 1000x too large)</li><li>Added fixOldSaves.</li><li>You can use HTML in main-display.</li><li>Fixed a number of minor oddities.</li></ul><h3 id="v2-2-3-11-28-20" tabindex="-1">v2.2.3 - 11/28/20 <a class="header-anchor" href="#v2-2-3-11-28-20" aria-label="Permalink to &quot;v2.2.3 - 11/28/20&quot;"></a></h3><ul><li>Layers will be highlighted if you can finish a challenge.</li><li>The &quot;can complete challenge&quot; color now overrides the &quot;already completed&quot; color.</li><li>Button nodes now work as side &quot;layers&quot;.</li><li>Setting a tooltip to &quot;&quot; hides it entirely.</li></ul><h3 id="v2-2-2-11-22-20" tabindex="-1">v2.2.2 - 11/22/20 <a class="header-anchor" href="#v2-2-2-11-22-20" aria-label="Permalink to &quot;v2.2.2 - 11/22/20&quot;"></a></h3><ul><li>Fixed right half of the screen being unclickable in some circumstances.</li><li>Fixed tree branches being offset.</li><li>Fix to lastSafeTab.</li></ul><h3 id="v2-2-1-11-7-20" tabindex="-1">v2.2.1 - 11/7/20 <a class="header-anchor" href="#v2-2-1-11-7-20" aria-label="Permalink to &quot;v2.2.1 - 11/7/20&quot;"></a></h3><ul><li>Added a small highlight to layers you can meaningfully prestige on.</li><li>Added passiveGeneration and autoPrestige features to standardize prestige automation. (The old ways still work, but the new ones work better with other things)</li><li>Improved milestones visually a bit.</li><li>&quot;best&quot; and &quot;total&quot; are now only displayed if present in startData.</li><li>Fixed issues with things not updating visually. (Thank you to to Jacorb!)</li><li>Side layers and button nodes can now be highlighted.</li><li>Updated docs on the new tree-related features.</li></ul><h2 id="v2-2-uprooted-11-7-20" tabindex="-1">v2.2: Uprooted - 11/7/20 <a class="header-anchor" href="#v2-2-uprooted-11-7-20" aria-label="Permalink to &quot;v2.2: Uprooted - 11/7/20&quot;"></a></h2><ul><li>You can now embed a layer inside of a subtab or microtab!</li><li>Added support for hiding or reformatting the tree tab</li><li>Added non-layer button nodes</li><li>Added shouldNotify to subtab/microtab buttons. (You can make them highlighted)</li><li>Added commas to large exponents.</li><li>Upgrades now only show &quot;currently&quot; if they have an effectDisplay (so not for constant effects).</li><li>Achievements are part of the default tab format.</li><li>NaN is now handled more intelligently.</li><li>Renamed files, and moved less relevant ones to another folder.</li><li>The &quot;hide completed challenges&quot; setting now only hides challenges at max completions.</li><li>Thank you to thepaperpilot for fixing errors in docs and improving the infobox appearance!</li><li>Many other minor fixes.</li></ul><h3 id="v2-1-4-10-25-20" tabindex="-1">v2.1.4 - 10/25/20 <a class="header-anchor" href="#v2-1-4-10-25-20" aria-label="Permalink to &quot;v2.1.4 - 10/25/20&quot;"></a></h3><ul><li>Added an infobox component. Thank you to thepaperpilot for this contribution!</li><li>Layer type is now optional, and defaults to &quot;none&quot;.</li><li>Improved the look of bars and tab buttons.</li><li>Improved spacing between layer nodes (also thanks to thepaperpilot!)</li><li>Fixed the &quot;blank&quot; component breaking if only specifying the height.</li><li>Fixed some numbers not displaying with enough digits.</li><li>Made a few more things able to be functions.</li><li>A few other minor fixes.</li></ul><h3 id="v2-1-3-1-10-21-20" tabindex="-1">v2.1.3.1 - 10/21/20 <a class="header-anchor" href="#v2-1-3-1-10-21-20" aria-label="Permalink to &quot;v2.1.3.1 - 10/21/20&quot;"></a></h3><ul><li>Fixed the update function.</li></ul><h3 id="v2-1-3-10-21-20" tabindex="-1">v2.1.3 - 10/21/20 <a class="header-anchor" href="#v2-1-3-10-21-20" aria-label="Permalink to &quot;v2.1.3 - 10/21/20&quot;"></a></h3><ul><li>gainMult and gainExp are now optional.</li><li>Layer unlocking is now kept on reset.</li><li>Game should start up faster.</li><li>Layer updates now have a determined order and starts with earlier-rowed layers.</li><li>Automation now has a determined order and starts with later-rowed layers.</li><li>Fixed issues with resetting clickables and challenges.</li><li>Commas should no longer appear in the decimal places of a number.</li><li>Fixed potential issue in displaying the tree.</li></ul><h3 id="v2-1-2-10-19-20" tabindex="-1">v2.1.2 - 10/19/20 <a class="header-anchor" href="#v2-1-2-10-19-20" aria-label="Permalink to &quot;v2.1.2 - 10/19/20&quot;"></a></h3><ul><li>Added buyUpgrade function (buyUpg still works though)</li><li>Added author name to modInfo.</li><li>Fix to crash caused when the name of a subtab or microtab is changed.</li><li>Fixes to outdated information in docs.</li><li>Improvements to Discord links.</li><li>Thank you to thepaperpilot for contributing to this update!</li></ul><h3 id="v2-1-1-10-17-20" tabindex="-1">v2.1.1 - 10/17/20 <a class="header-anchor" href="#v2-1-1-10-17-20" aria-label="Permalink to &quot;v2.1.1 - 10/17/20&quot;"></a></h3><ul><li>Added resource-display component, which displays the base currency for the prestige layer, as well as the best and/or total of this layer&#39;s prestige currency.</li><li>Fixed the value for the base currency not updating in resource-display.</li></ul><h2 id="v2-1-we-should-have-thought-of-this-sooner-10-17-20" tabindex="-1">v2.1: We should have thought of this sooner! - 10/17/20 <a class="header-anchor" href="#v2-1-we-should-have-thought-of-this-sooner-10-17-20" aria-label="Permalink to &quot;v2.1: We should have thought of this sooner! - 10/17/20&quot;"></a></h2><ul><li>Moved most of the code users will want to edit to mod.js, added documentation for it. <ul><li>Specifically, modInfo, VERSION, canGenPoints, getPointGen, and maxTickLength</li></ul></li><li>Added getStartPoints()</li><li>Added the ability to store non-layer-related data</li><li>Added the ability to display more things at the top of the tree tab below points.</li><li>Made the endgame condition customizable</li><li>Added &quot;sell one&quot; and &quot;sell all&quot; buttons for buyables.</li><li>Moved the old &quot;game&quot; to demo.js, and replaced it with a minimal game that won&#39;t cause issues when edited.</li><li>Fixed issues with version number</li><li>Fixed number formatting issue making things like &quot;10e9&quot; appear.</li></ul><h3 id="v2-0-5-10-16-20" tabindex="-1">v2.0.5 - 10/16/20 <a class="header-anchor" href="#v2-0-5-10-16-20" aria-label="Permalink to &quot;v2.0.5 - 10/16/20&quot;"></a></h3><ul><li>Made more features (including prestige parameters) able to be dynamic.</li><li>Layer nodes can be hidden but still take up space with &quot;ghost&quot; visibility</li><li>Added clickableEffect for real.</li><li>Fixed some visual issues with bars.</li><li>A few other minor tweaks and improvements.</li></ul><h3 id="v2-0-4-10-16-20" tabindex="-1">v2.0.4 - 10/16/20 <a class="header-anchor" href="#v2-0-4-10-16-20" aria-label="Permalink to &quot;v2.0.4 - 10/16/20&quot;"></a></h3><ul><li>Fixed HTML on buttons interfering with clicking on them.</li></ul><h3 id="v2-0-3-10-16-20" tabindex="-1">v2.0.3 - 10/16/20 <a class="header-anchor" href="#v2-0-3-10-16-20" aria-label="Permalink to &quot;v2.0.3 - 10/16/20&quot;"></a></h3><ul><li>Fixed hotkeys not displaying in info.</li><li>Fixed the game supressing all external hotkeys.</li><li>You can use more things as currencies for upgrade costs and challenge goals using currencyLocation.</li><li>Added maxTickLength, which can be used to prevent offline time or tab-switching from breaking time-limit based mechanics.</li><li>Made buyable respec buttons and clickable &quot;master&quot; buttons their own components, and gave them a hide/show feature.</li><li>Added a general &quot;tooltip&quot; feature for achievements.</li></ul><h3 id="v2-0-2-10-15-20" tabindex="-1">v2.0.2 - 10/15/20 <a class="header-anchor" href="#v2-0-2-10-15-20" aria-label="Permalink to &quot;v2.0.2 - 10/15/20&quot;"></a></h3><ul><li>Branches are now dynamic (they can be functions).</li><li>Fixed a crash related to offline time.</li><li>Fixed links being too wide.</li></ul><h3 id="v2-0-1-10-15-20" tabindex="-1">v2.0.1 - 10/15/20 <a class="header-anchor" href="#v2-0-1-10-15-20" aria-label="Permalink to &quot;v2.0.1 - 10/15/20&quot;"></a></h3><ul><li>Fixed side layers appearing multiple times.</li></ul><h2 id="v2-0-the-pinnacle-of-achievement-mountain-10-15-20" tabindex="-1">v2.0: The Pinnacle of Achievement Mountain - 10/15/20 <a class="header-anchor" href="#v2-0-the-pinnacle-of-achievement-mountain-10-15-20" aria-label="Permalink to &quot;v2.0: The Pinnacle of Achievement Mountain - 10/15/20&quot;"></a></h2><ul><li>Added progress bars, which are highly customizable and can be horizontal or vertical!</li><li>Added &quot;side layers&quot;, displayed smaller and off to the side, and don&#39;t get reset by default. They can be used for global achievements and statistics. Speaking of which...</li><li>Added achievements!</li><li>Added clickables, a more generalized variant of buyables.</li><li>Almost every value in layer data can be either a function or a constant value!</li><li>Added support for multiple completions of challenges.</li><li>Added &quot;none&quot; prestige type, which removes the need for any other prestige-related features.</li><li>The points display and other gui elements stay at the top of the screen when the tree scrolls.</li><li>Added getter/setter functions for the amounts and effects of most Big Features</li><li>Moved modInfo to game.js, added a spot in modInfo for a Discord link, changelog link. Also added a separate mod version from the TMT version in VERSION.</li><li>Tree structure is based on layer data, no index.html editing is needed.</li><li>Tmp does not need to be manually updated.</li><li>You don&#39;t have to have the same amount of upgrades in every row (and challs and buyables)</li><li>&quot;unlocked&quot; is optional for all Big Components (defaults to true).</li><li>All displays will update correctly.</li><li>Changelog is no longer in index.html at all.</li><li>Generation of Points now happens in the main game loop</li><li>Changed the reset functions to make keeping things easier</li><li>Renamed many things to increase readability (see the list in the link below)</li><li>Improved documentation based on feedback</li></ul><h3 id="v1-3-5" tabindex="-1">v1.3.5: <a class="header-anchor" href="#v1-3-5" aria-label="Permalink to &quot;v1.3.5:&quot;"></a></h3><ul><li>Completely automated convertToDecimal, now you never have to worry about it again.</li><li>Branches can be defined without a color id. But they can also use hex values for color ids!</li><li>Created a tutorial for getting started with TMT and Github.</li><li>Page title is now automatically taken from mod name.</li></ul><h3 id="v1-3-4-10-8-20" tabindex="-1">v1.3.4 - 10/8/20 <a class="header-anchor" href="#v1-3-4-10-8-20" aria-label="Permalink to &quot;v1.3.4 - 10/8/20&quot;"></a></h3><ul><li>Added &quot;midsection&quot; feature to add things to a tab&#39;s layout while still keeping the standard layout.</li><li>Fix for being able to buy more buyables than you should.</li></ul><h3 id="v1-3-3-10-7-20" tabindex="-1">v1.3.3 - 10/7/20 <a class="header-anchor" href="#v1-3-3-10-7-20" aria-label="Permalink to &quot;v1.3.3 - 10/7/20&quot;"></a></h3><ul><li>Fix for the &quot;order of operations&quot; issue in temp.</li></ul><h3 id="v1-3-1-10-7-20" tabindex="-1">v1.3.1 - 10/7/20 <a class="header-anchor" href="#v1-3-1-10-7-20" aria-label="Permalink to &quot;v1.3.1 - 10/7/20&quot;"></a></h3><ul><li>Added custom CSS and tooltips for Layer Nodes.</li><li>Added custom CSS for upgrades, buyables, milestones, and challenges, both individually and layer-wide.</li><li>You can now use HTML in most display text!</li><li>You can now make milestones unlockable and not display immediately.</li><li>Fixed importing saves, and issue with upgrades not appearing, and probably more.</li><li>Optional &quot;name&quot; layer feature, used in confirmation messages.</li></ul><h2 id="v1-3-tabception-ception-10-7-20" tabindex="-1">v1.3: Tabception... ception! - 10/7/20 <a class="header-anchor" href="#v1-3-tabception-ception-10-7-20" aria-label="Permalink to &quot;v1.3: Tabception... ception! - 10/7/20&quot;"></a></h2><ul><li>Added subtabs! And also a Micro-tab component to let you make smaller subtab-esque areas anywhere.</li><li>Added a &quot;custom&quot; prestige formula type, and a number of features to support it.</li><li>Added points/sec display (can be disabled).</li><li>Added h-line, v-line and image-display components, plus components for individual upgrades, challenges, and milestones.</li><li>Added upgEffect, buyableEffect, and challEffect functions.</li><li>Added &quot;hide completed challenges&quot; setting.</li><li>Moved old changelogs to a separate place.</li><li>Fixed hasMilestone and incr_order.</li><li>Static layers now show the currency amount needed for the next one if you can buy max.</li></ul><h3 id="v1-2-4-10-4-20" tabindex="-1">v1.2.4 - 10/4/20 <a class="header-anchor" href="#v1-2-4-10-4-20" aria-label="Permalink to &quot;v1.2.4 - 10/4/20&quot;"></a></h3><ul><li>Layers are now highlighted if you can buy an upgrade, and a new feature, shouldNotify, lets you make it highlight other ways.</li><li>Fixed bugs with hasUpg, hasChall, hasMilestone, and inChallenge.</li><li>Changed the sample code to use the above functions for convenience.</li></ul><h3 id="v1-2-3-10-3-20" tabindex="-1">v1.2.3 - 10/3/20 <a class="header-anchor" href="#v1-2-3-10-3-20" aria-label="Permalink to &quot;v1.2.3 - 10/3/20&quot;"></a></h3><ul><li>Added a row component, which displays a list of objects in a row.</li><li>Added a column component, which displays a list of objects in a column (useful within a row).</li><li>Changed blanks to have a customizable width and height.</li></ul><h2 id="v1-2-this-changes-everything-10-3-20" tabindex="-1">v1.2: This Changes Everything! - 10/3/20 <a class="header-anchor" href="#v1-2-this-changes-everything-10-3-20" aria-label="Permalink to &quot;v1.2: This Changes Everything! - 10/3/20&quot;"></a></h2><ul><li>Many layer features can now be static values or functions. (This made some formats change, which will break old things)</li><li>You can now use the &quot;this&quot; keyword, to make code easier to transfer when making new layers.</li><li>Also added &quot;this.layer&quot;, which is the current layer&#39;s name, and works on existing subfeatures (e.g. individual upgrades) as well! Subfeatures also have &quot;this.id&quot;.</li><li>Fixed a big save issue. If you use a unique mod id, your save will never conflict with other mods.</li><li>Added a configurable offline time limit in modinfo at the top of index.html. (default 1 hour)</li><li>Added a few minor features, and updated the docs with new information.</li></ul><h3 id="v1-1-1" tabindex="-1">v1.1.1: <a class="header-anchor" href="#v1-1-1" aria-label="Permalink to &quot;v1.1.1:&quot;"></a></h3><ul><li>You can define hotkeys directly from layer config.</li></ul><h2 id="v1-1-enhanced-edition" tabindex="-1">v1.1: Enhanced Edition <a class="header-anchor" href="#v1-1-enhanced-edition" aria-label="Permalink to &quot;v1.1: Enhanced Edition&quot;"></a></h2><ul><li>Added &quot;Buyables&quot;, which can function like Space Buildings or Enhancers.</li><li>Custom CSS can now be used on any component! Make the third argument an object with CSS parameters.</li><li>Lots of minor good things.</li></ul><h2 id="v1-0" tabindex="-1">v1.0: <a class="header-anchor" href="#v1-0" aria-label="Permalink to &quot;v1.0:&quot;"></a></h2><ul><li>First release.</li></ul>',79),n=[o];function s(r,d,h,u,c,m){return a(),i("div",null,n)}const p=e(t,[["render",s]]);export{b as __pageData,p as default};