mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-02-16 09:41:41 +00:00
Fixed prestigeButtonText
This commit is contained in:
parent
797447faa6
commit
f521874fb6
3 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ let modInfo = {
|
||||||
|
|
||||||
// Set your version in num and name
|
// Set your version in num and name
|
||||||
let VERSION = {
|
let VERSION = {
|
||||||
num: "2.3.3",
|
num: "2.3.3.1",
|
||||||
name: "Cooler and Newer Edition",
|
name: "Cooler and Newer Edition",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ var gameEnded = false;
|
||||||
|
|
||||||
// Don't change this
|
// Don't change this
|
||||||
const TMT_VERSION = {
|
const TMT_VERSION = {
|
||||||
tmtNum: "2.3.3",
|
tmtNum: "2.3.3.1",
|
||||||
tmtName: "Cooler and Newer Edition"
|
tmtName: "Cooler and Newer Edition"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -788,7 +788,7 @@ function focused(x) {
|
||||||
|
|
||||||
function prestigeButtonText(layer)
|
function prestigeButtonText(layer)
|
||||||
{
|
{
|
||||||
if (layers[layer].prestigeButtonTest !== undefined)
|
if (layers[layer].prestigeButtonText !== undefined)
|
||||||
return layers[layer].prestigeButtonText()
|
return layers[layer].prestigeButtonText()
|
||||||
else if(tmp[layer].type == "normal")
|
else if(tmp[layer].type == "normal")
|
||||||
return `${ player[layer].points.lt(1e3) ? (tmp[layer].resetDescription !== undefined ? tmp[layer].resetDescription : "Reset for ") : ""}+<b>${formatWhole(tmp[layer].resetGain)}</b> ${tmp[layer].resource} ${tmp[layer].resetGain.lt(100) && player[layer].points.lt(1e3) ? `<br><br>Next at ${ (tmp[layer].roundUpCost ? formatWhole(tmp[layer].nextAt) : format(tmp[layer].nextAt))} ${ tmp[layer].baseResource }` : ""}`
|
return `${ player[layer].points.lt(1e3) ? (tmp[layer].resetDescription !== undefined ? tmp[layer].resetDescription : "Reset for ") : ""}+<b>${formatWhole(tmp[layer].resetGain)}</b> ${tmp[layer].resource} ${tmp[layer].resetGain.lt(100) && player[layer].points.lt(1e3) ? `<br><br>Next at ${ (tmp[layer].roundUpCost ? formatWhole(tmp[layer].nextAt) : format(tmp[layer].nextAt))} ${ tmp[layer].baseResource }` : ""}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue