java.js
// Base for upgrades that automatically give you points
Base for upgrades that automatically give you points
Base for upgrades that automatically give you points
function autoUpgrade(upincrease, sizevar) {
	sps = sps + upincrease;
	size = size - sizevar;
	spentonupgrades = spentonupgrades + sizevar;
	spentonautoupgrades = spentonautoupgrades + sizevar;
	newcost = sizevar * 1.15;
	newcost = Math.round(newcost);
	upgradesbought++;
	autoupgradesbought++;
	return newcost;
}
function autoUpgrade ( upincrease , sizevar ) { sps = sps + upincrease ; size = size - sizevar ; spentonupgrades = spentonupgrades + sizevar ; spentonautoupgrades = spentonautoupgrades + sizevar ; newcost = sizevar * 1.15 ; newcost = Math . round ( newcost ) ; upgradesbought ++ ; autoupgradesbought ++ ; return newcost ; }
Base for upgrades that automatically give you points
Base for upgrades that automatically give you points