Skip to the content.

mod.js

Most of the non-layer code and data that you’re likely to edit is here in mod.js. Everything in mod.js will not be altered by updates, besides the addition of new things.

Here’s a breakdown of what’s in it:

// (The ones here are examples, all official functions are already taken care of)
var doNotCallTheseFunctionsEveryTick = ["doReset", "buy", "onPurchase", "blowUpEverything"]
function addedPlayerData() { return {
	weather: "Yes",
	happiness: new Decimal(72),
}}

Less important things beyond this point!