Procházet zdrojové kódy

Fixed toilet not emptying bowels. Fixed vending machine only working if you have *more* than the required amount of money

tags/v0.2.8
Fen Dweller před 7 roky
rodič
revize
1049531f6c
2 změnil soubory, kde provedl 4 přidání a 3 odebrání
  1. +3
    -3
      dialog.js
  2. +1
    -0
      objects.js

+ 3
- 3
dialog.js Zobrazit soubor

@@ -157,7 +157,7 @@ function VendingMachinePurchase() {
});

nodeCandy.requirements.push(function(player) {
return player.cash > 2;
return player.cash >= 2;
});
}

@@ -171,7 +171,7 @@ function VendingMachinePurchase() {
});

nodeSoda.requirements.push(function(player) {
return player.cash > 2;
return player.cash >= 2;
});
}

@@ -187,7 +187,7 @@ function VendingMachinePurchase() {
});

nodeMicro.requirements.push(function(player) {
return player.cash > 10;
return player.cash >= 10;
});
}



+ 1
- 0
objects.js Zobrazit soubor

@@ -45,6 +45,7 @@ function Toilet() {
lines.push("But nothing happens.");
} else {
lines.push("You grunt and clench, squeezing out the remains of your former prey.");
player.bowels.fullness = 0;
}

if (player.bowels.contents.length > 0) {


Načítá se…
Zrušit
Uložit