mirror of
https://github.com/thepaperpilot/The-Modding-Tree.git
synced 2025-02-07 18:41:36 +00:00
resetsNothing now works immediately
This commit is contained in:
parent
b6bc8beb21
commit
2805c36178
3 changed files with 3 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
||||||
- Fixed demo.html
|
- Fixed demo.html
|
||||||
- You can now use "this" in tabFormat!
|
- You can now use "this" in tabFormat!
|
||||||
- The prestige/sec display now shows decimals.
|
- The prestige/sec display now shows decimals.
|
||||||
|
- resetsNothing now works immediately on a reset that enables it.
|
||||||
- Added onComplete for milestones.
|
- Added onComplete for milestones.
|
||||||
- Fixed certain things skipping negative rows (now they are treated like non-numeric rows, and don't appear in the tree still).
|
- Fixed certain things skipping negative rows (now they are treated like non-numeric rows, and don't appear in the tree still).
|
||||||
- Things are 0.2% more optimized.
|
- Things are 0.2% more optimized.
|
||||||
|
|
|
@ -290,7 +290,7 @@ addLayer("c", {
|
||||||
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
// Optional, lets you format the tab yourself by listing components. You can create your own components in v.js.
|
// Optional, lets you format the tab yourself by listing components. You can create your own components in v.js.
|
||||||
tabFormat: {
|
tabFormat: {
|
||||||
"main tab": {
|
"main tab": {
|
||||||
|
|
|
@ -217,7 +217,7 @@ function doReset(layer, force=false) {
|
||||||
tmp[layer].baseAmount = decimalZero // quick fix
|
tmp[layer].baseAmount = decimalZero // quick fix
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tmp[layer].resetsNothing) return
|
if (run(layers[layer].resetsNothing, layers[layer])) return
|
||||||
|
|
||||||
|
|
||||||
for (layerResetting in layers) {
|
for (layerResetting in layers) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue