2021-05-19 23:27:23 -05:00
|
|
|
// Import Decimal and numberUtils from a different file to globally change which big num library gets used
|
|
|
|
import Decimal, * as numberUtils from '../util/break_eternity.js';
|
|
|
|
|
2021-05-22 15:29:06 -05:00
|
|
|
const modInfo = {
|
2021-05-19 23:27:23 -05:00
|
|
|
// General Info
|
|
|
|
title: "The Modding Tree X",
|
|
|
|
id: "tmt-x",
|
|
|
|
author: "thepaperpilot",
|
2021-05-22 15:29:06 -05:00
|
|
|
discordName: "TMT-X",
|
2021-05-19 23:27:23 -05:00
|
|
|
discordLink: "https://discord.gg/WzejVAx",
|
|
|
|
|
|
|
|
// Gameplay Options
|
|
|
|
getStartingData() {
|
|
|
|
return {
|
|
|
|
points: new Decimal(10),
|
|
|
|
}
|
|
|
|
},
|
|
|
|
hasWon() {
|
|
|
|
return false;
|
|
|
|
},
|
2021-05-22 15:29:06 -05:00
|
|
|
update(delta) {
|
|
|
|
let gain = new Decimal(1);
|
|
|
|
// TODO add gain to player.deltas
|
|
|
|
gain.times(delta);
|
|
|
|
},
|
2021-05-19 23:27:23 -05:00
|
|
|
|
|
|
|
// Version
|
|
|
|
versionNumber: "0.0",
|
|
|
|
versionTitle: "Initial Commit",
|
|
|
|
|
|
|
|
// UI options
|
|
|
|
allowSmall: false,
|
2021-05-22 15:29:06 -05:00
|
|
|
defaultDecimalsShown: 2,
|
|
|
|
useHeader: false,
|
|
|
|
banner: null,
|
|
|
|
logo: null,
|
|
|
|
initialTabs: ["tree-tab", "info-tab", "dummy"],
|
2021-05-19 23:27:23 -05:00
|
|
|
|
|
|
|
// Advanced Options
|
|
|
|
/* eslint-disable-next-line no-unused-vars */
|
|
|
|
fixOldSave(oldVersion) {
|
|
|
|
},
|
|
|
|
bigNum: { Decimal, ...numberUtils },
|
|
|
|
maxTickLength: 3600
|
|
|
|
};
|
2021-05-22 15:29:06 -05:00
|
|
|
|
|
|
|
document.title = modInfo.title;
|
|
|
|
|
|
|
|
export default modInfo;
|