let modInfo = { name: "The Modding Tree", id: "modbase", pointsName: "points", discordName: "", discordLink: "", changelogLink: "https://github.com/Acamaeda/The-Modding-Tree/blob/master/changelog.md", offlineLimit: 1, // In hours initialStartPoints: new Decimal (10) // Used for hard resets and new players } // Set your version in num and name let VERSION = { num: "2.1", name: " We should have thought of this sooner!", } // If you add new functions anywhere inside of a layer, and those functions have an effect when called, add them here. // (The ones here are examples, all official functions are already taken care of) var doNotCallTheseFunctionsEveryTick = ["doReset", "buy", "onPurchase", "blowUpEverything"] function getStartPoints(){ return new Decimal(modInfo.initialStartPoints) } // Determines if it should show points/sec function canGenPoints(){ return hasUpgrade("c", 11) } // Calculate points/sec! function getPointGen() { if(!canGenPoints()) return new Decimal(0) let gain = new Decimal(1) if (hasUpgrade("c", 12)) gain = gain.times(upgradeEffect("c", 12)) return gain } // You can add non-layer related variables that should to into "player" and be saved here, along with default values function addedPlayerData() { return { weather: "Yes", happiness: new Decimal(72), }} // Display extra things at the top of the page var displayThings = [ function() {if (player.points.eq(69)) return "Tee hee!"}, function() {if (player.f.points.gt(1)) return `You have ${player.f.points} farm points. (Which do nothing.)`}, function() {if (inChallenge("c", 11)) return "The game is currently