V0.2.0: Implemented storing food in Horn of Plenty (needs testing)

This commit is contained in:
Evan Debenham
2014-08-27 11:44:25 -04:00
parent f033a2b872
commit b54680f78b
9 changed files with 48 additions and 11 deletions
@@ -37,6 +37,7 @@ public class Blandfruit extends Food {
stackable = false;
image = ItemSpriteSheet.BLANDFRUIT;
energy = (Hunger.STARVING - Hunger.HUNGRY)/2;
hornValue = 15;
}
@Override
@@ -26,6 +26,7 @@ public class ChargrilledMeat extends Food {
name = "chargrilled meat";
image = ItemSpriteSheet.STEAK;
energy = Hunger.STARVING - Hunger.HUNGRY;
hornValue = 5;
}
@Override
@@ -40,6 +40,8 @@ public class Food extends Item {
public float energy = Hunger.HUNGRY;
public String message = "That food tasted delicious!";
public int hornValue = 15;
{
stackable = true;
@@ -37,6 +37,7 @@ public class FrozenCarpaccio extends Food {
name = "frozen carpaccio";
image = ItemSpriteSheet.CARPACCIO;
energy = Hunger.STARVING - Hunger.HUNGRY;
hornValue = 5;
}
@Override
@@ -36,6 +36,7 @@ public class MysteryMeat extends Food {
image = ItemSpriteSheet.MEAT;
energy = Hunger.STARVING - Hunger.HUNGRY;
message = "That food tasted... strange.";
hornValue = 5;
}
@Override
@@ -27,6 +27,7 @@ public class OverpricedRation extends Food {
image = ItemSpriteSheet.OVERPRICED;
energy = Hunger.STARVING - Hunger.HUNGRY;
message = "That food tasted ok.";
hornValue = 5;
}
@Override
@@ -26,6 +26,7 @@ public class Pasty extends Food {
name = "pasty";
image = ItemSpriteSheet.PASTY;
energy = Hunger.STARVING;
hornValue = 25;
}
@Override