1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2025-05-12 13:01:05 +00:00

Added fixOldSave and work on reset logic for side layers

This commit is contained in:
Acamaeda 2020-11-28 20:10:13 -05:00
parent a50326a430
commit 03cd7f11da
6 changed files with 26 additions and 8 deletions
js/Demo

View file

@ -12,7 +12,7 @@ let modInfo = {
// Set your version in num and name
let VERSION = {
num: "2.2.2",
num: "2.2.3",
name: "Uprooted",
}
@ -64,4 +64,9 @@ function isEndgame() {
// You can change this if you have things that can be messed up by long tick lengths
function maxTickLength() {
return(3600000) // Default is 1 hour which is just arbitrarily large
}
// Use this if you need to undo inflation from an older version. If the version is older than the version that fixed the issue,
// you can cap their current resources with this.
function fixOldSave(oldVersion){
}