v0.3.4: externalized almost all item names
This commit is contained in:
committed by
Evan Debenham
parent
0ca46e72cc
commit
c1aca208b4
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user