mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-04-21 17:01:00 +00:00
Added "none" prestige type
This commit is contained in:
parent
fd61aaf7b3
commit
b95ef2fe44
7 changed files with 38 additions and 36 deletions
js
|
@ -608,6 +608,8 @@ function prestigeButtonText(layer)
|
|||
else if(tmp[layer].type== "static")
|
||||
return `${tmp[layer].resetDescription !== undefined ? tmp[layer].resetDescription : "Reset for "}+<b>${formatWhole(tmp[layer].resetGain)}</b> ${tmp[layer].resource}<br><br>${player[layer].points.lt(20) ? (tmp[layer].baseAmount.gte(tmp[layer].nextAt)&&(tmp[layer].canBuyMax !== undefined) && tmp[layer].canBuyMax?"Next":"Req") : ""}: ${formatWhole(tmp[layer].baseAmount)} / ${(tmp[layer].roundUpCost ? formatWhole(tmp[layer].nextAtDisp) : format(tmp[layer].nextAtDisp))} ${ tmp[layer].baseResource }
|
||||
`
|
||||
else if(tmp[layer].type == "none")
|
||||
return ""
|
||||
else
|
||||
return layers[layer].prestigeButtonText()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue