Esempio n. 1
0
 public void pillage() {
   getCurrentTile().removeEntity("village");
   p.maxFood += 3;
   p.maxWater += 3;
   p.maxHealth += 2;
   p.decFood(3);
   p.decWater(3);
   p.razeCount++;
 }
Esempio n. 2
0
 public void rest() {
   if (getCurrentTile().contains("village")) {
     console.print("You find a bed, and lay down to rest.");
     p.maxHealth();
   } else console.print("There is no place to rest.");
 }