v0.3.4: externalized almost all item names

This commit is contained in:
Evan Debenham
2015-12-31 23:49:49 -05:00
committed by Evan Debenham
parent 0ca46e72cc
commit c1aca208b4
144 changed files with 191 additions and 337 deletions
@@ -26,7 +26,6 @@ import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
public class ChargrilledMeat extends Food {
{
name = "chargrilled meat";
image = ItemSpriteSheet.STEAK;
energy = Hunger.STARVING - Hunger.HUNGRY;
hornValue = 1;
@@ -50,7 +50,6 @@ public class Food extends Item {
{
stackable = true;
name = "ration of food";
image = ItemSpriteSheet.RATION;
bones = true;
@@ -40,7 +40,6 @@ import com.watabou.utils.Random;
public class FrozenCarpaccio extends Food {
{
name = "frozen carpaccio";
image = ItemSpriteSheet.CARPACCIO;
energy = Hunger.STARVING - Hunger.HUNGRY;
hornValue = 1;
@@ -35,7 +35,6 @@ import com.watabou.utils.Random;
public class MysteryMeat extends Food {
{
name = "mystery meat";
image = ItemSpriteSheet.MEAT;
energy = Hunger.STARVING - Hunger.HUNGRY;
message = "That food tasted... strange.";
@@ -26,7 +26,6 @@ import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
public class OverpricedRation extends Food {
{
name = "overpriced food ration";
image = ItemSpriteSheet.OVERPRICED;
energy = Hunger.STARVING - Hunger.HUNGRY;
message = "That food tasted ok.";
@@ -25,6 +25,7 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Hunger;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Recharging;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
import com.shatteredpixel.shatteredpixeldungeon.items.scrolls.ScrollOfRecharging;
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
import java.util.Calendar;
@@ -64,11 +65,11 @@ public class Pasty extends Food {
switch(holiday){
case NONE:
name = "pasty";
name = Messages.get(this, "pasty");
image = ItemSpriteSheet.PASTY;
break;
case XMAS:
name = "candy cane";
name = Messages.get(this, "cane");
image = ItemSpriteSheet.CANDY_CANE;
break;
}