// noinspection SpellCheckingInspection
const systemComponents = {
"tab-buttons": {
props: ["layer", "data", "name"],
template: `
`
},
"tree-node": {
props: ["layer", "abb", "size"],
template: `
`
},
"layer-tab": {
props: ["layer", "back", "spacing", "embedded"],
template: `
`
},
"overlay-head": {
template: `
Dev Speed: {{format(player.devSpeed)}}x
Offline Time: {{formatTime(player.offTime.remain)}}
({{tmp.other.oompsMag != 0 ? format(tmp.other.oomps) + " OOM" + (tmp.other.oompsMag < 0 ? "^OOM" : tmp.other.oompsMag > 1 ? "^" + tmp.other.oompsMag : "") + "s" : formatSmall(getPointGen())}}/sec)
`
},
"info-tab": {
template: `
{{modInfo.name}}
{{VERSION.withName}}
Made by {{modInfo.author}}
The Modding Tree
{{TMT_VERSION.tmtNum}} by Acamaeda
The Prestige Tree made by Jacorb and Aarex
Original idea by papyrus (on discord)
Hourglass used with modifications from
jkantner under MIT license
Changelog
{{modInfo.discordName}}
The Modding Tree Discord
Main Prestige Tree server
Time Played: {{ formatTime(player.timePlayed) }}
Chapter 1 Time: {{ formatTime(player.chapterTime[1]) }}
Chapter 2 Time: {{ formatTime(player.chapterTime[2]) }}
Chapter 3 Time: {{ formatTime(player.chapterTime[3]) }}
Chapter 4 Time: {{ formatTime(player.chapterTime[4]) }}
Chapter 5 Time: {{ formatTime(player.chapterTime[5]) }}
Hotkeys
{{key.description}}
`
},
"options-tab": {
template: `
Save
Autosave: {{ player.autosave?"ON":"OFF" }}
HARD RESET
Export to clipboard
Import
Offline Prod: {{ player.offlineProd?"ON":"OFF" }}
Show Milestones: {{ MS_DISPLAYS[MS_SETTINGS.indexOf(player.msDisplay)]}}
Single-Tab Mode: {{ player.forceOneTab?"ALWAYS":"AUTO" }}
XP bars: {{ player.advancedExp ? "ADVANCED" : "SIMPLE" }}
`
},
"back-button": {
template: `
←
`
},
'tooltip' : {
props: ['text'],
template: `
`
},
'node-mark': {
props: ['layer', 'data'],
template: `
`
},
'particle': {
props: ['data', 'index'],
template: `
`
},
}