refactored saving/loading by making it into a class. Tested and debugged prestige mechanic

This commit is contained in:
Daniel Xie
2017-05-04 20:08:44 -05:00
parent 2c53073f21
commit 56ebfaf2bf
11 changed files with 173 additions and 130 deletions
+2 -2
View File
@@ -138,8 +138,8 @@ purchaseAugmentationBoxCreate = function(aug, fac) {
} else if (Player.money >= (aug.baseCost * fac.augmentationPriceMult)) {
applyAugmentation(aug, fac);
//TODO Make this text better
dialogBoxCreate("You slowly drift to sleep as " + fac.name + "'s scientists put you under <br>" +
" in order to install the " + aug.name + " Augmentation. <br>br>" +
dialogBoxCreate("You slowly drift to sleep as " + fac.name + "'s scientists put you under " +
" in order to install the " + aug.name + " Augmentation. <br><br>" +
"You wake up in your home...you feel different...");
prestigeAugmentation();