diff --git a/changelog.md b/changelog.md index 6e3aac9..123f407 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,12 @@ # The Modding Tree changelog: +### v2.2.8 12/03/20 +- Double-clicking a layer node brings you to the main subtab for that layer. +- Attempted to fix challenges visually updating a different way. +- Added a softcap function for use in formulas. +- Added displayRow feature, which lets layers be shown somewhere separate from where they are in the reset order (e.g. side layers) +- Fixed autoupgrade issue. + ### v2.2.7 11/30/20 - Added autoUpgrade feature. - resource-display now shows resource gain per second if passiveGain is active. diff --git a/docs/layer-features.md b/docs/layer-features.md index 538f109..da7312e 100644 --- a/docs/layer-features.md +++ b/docs/layer-features.md @@ -27,6 +27,8 @@ You can make almost any value dynamic by using a function in its place, includin Using "side" instead of a number will cause the layer to appear off to the side as a smaller node (useful for achievements and statistics). Side layers are not affected by resets unless you add a doReset to them. +- displayRow: **OVERRIDE** Changes where the layer node appears without changing where it is in the reset order. + - resource: Name of the main currency you gain by resetting on this layer. - effect(): **optional**. A function that calculates and returns the current values of any bonuses inherent to the main currency. Can return a value or an object containing multiple values. *You will also have to implement the effect where it is applied.* diff --git a/js/Demo/demoLayers.js b/js/Demo/demoLayers.js index 1ba5098..0c4bbc0 100644 --- a/js/Demo/demoLayers.js +++ b/js/Demo/demoLayers.js @@ -15,7 +15,6 @@ addLayer("c", { beep: false, }}, color: "#4BDC13", - autoUpgrade: true, requires: new Decimal(10), // Can be a function that takes requirement increases into account resource: "lollipops", // Name of prestige currency baseResource: "candies", // Name of resource prestige is based on diff --git a/js/Demo/demoMod.js b/js/Demo/demoMod.js index eae2d18..1d58ef6 100644 --- a/js/Demo/demoMod.js +++ b/js/Demo/demoMod.js @@ -12,7 +12,7 @@ let modInfo = { // Set your version in num and name let VERSION = { - num: "2.2.7", + num: "2.2.8", name: "Uprooted", } diff --git a/js/components.js b/js/components.js index d7831b0..03d2a16 100644 --- a/js/components.js +++ b/js/components.js @@ -119,9 +119,9 @@ function loadVue() { Vue.component('challenge', { props: ['layer', 'data'], template: ` -