1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2025-05-12 13:01:05 +00:00

Test with Despacit Tree Delta, numerous fixes

This commit is contained in:
Acamaeda 2020-10-11 14:49:29 -04:00
parent 1ff8042fc7
commit e9105e9865
8 changed files with 2378 additions and 26 deletions

View file

@ -27,7 +27,7 @@ function showPointGen(){
// Calculate points/sec!
function getPointGen() {
if(!hasUpg("c", 11))
if(!hasUpg("p", 11))
return new Decimal(0)
let gain = new Decimal(1)
@ -264,6 +264,7 @@ function buyableEffect(layer, id){
return (tmp[layer].buyables[id].effect)
}
function canAffordPurchase(layer, thing, cost) {
if (thing.currencyInternalName){
let name = thing.currencyInternalName