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:
parent
1ff8042fc7
commit
e9105e9865
8 changed files with 2378 additions and 26 deletions
js
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue