diff --git a/changelog.md b/changelog.md index 1c9ce4e..11fc274 100644 --- a/changelog.md +++ b/changelog.md @@ -3,6 +3,7 @@ # v2.6.4 - 6/17/21 - The game now autosaves before closing, if autosave is on. (Thank you to thepaperpilot for this!) - More Anti-NaN safety. +- Fixed challenges glowing from countsAs. - canReset now works properly for non-custom layers. - Fixed baseAmount being set to 0 even when a layer resets nothing. - Fixed centering on tooltips. diff --git a/docs/custom-tab-layouts.md b/docs/custom-tab-layouts.md index 9c9f944..3f3acf4 100644 --- a/docs/custom-tab-layouts.md +++ b/docs/custom-tab-layouts.md @@ -7,7 +7,7 @@ Custom tab layouts can be used to do basically anything in a tab window, especia ```js tabFormat: [ "main-display", - ["prestige-button", function() { return "Melt your points into " }], + ["prestige-button"], "blank", ["display-text", function() { return 'I have ' + format(player.points) + ' pointy points!' }, @@ -39,7 +39,7 @@ These are the existing components, but you can create more in [components.js](/j - resource-display: The text that displays the currency that this layer is based on, as well as the best and/or total values for this layer's prestige currency (if they are put in `startData` for this layer). -- prestige-button: The argument is a string that the prestige button should say before the amount of currency you will gain. It can also be a function that returns updating text. +- prestige-button: The button to reset for a currency in this layer. - text-input: A text input box. The argument is the name of the variable in player[layer] that the input is for, player[layer][argument] (Works with strings, numbers, and Decimals!) diff --git a/js/components.js b/js/components.js index 6c84600..02a6fe1 100644 --- a/js/components.js +++ b/js/components.js @@ -138,7 +138,7 @@ function loadVue() { props: ['layer', 'data'], template: `