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
@@ -25,7 +25,6 @@ import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
public class GoldenKey extends Key {
{
name = "golden key";
image = ItemSpriteSheet.GOLDEN_KEY;
}
@@ -28,12 +28,9 @@ import com.shatteredpixel.shatteredpixeldungeon.utils.Utils;
public class IronKey extends Key {
private static final String TXT_FROM_DEPTH = "iron key from depth %d";
public static int curDepthQuantity = 0;
{
name = "iron key";
image = ItemSpriteSheet.IRON_KEY;
}
@@ -62,11 +59,6 @@ public class IronKey extends Key {
}
}
@Override
public String toString() {
return Utils.format( TXT_FROM_DEPTH, depth );
}
@Override
public String info() {
return
@@ -26,7 +26,6 @@ import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
public class SkeletonKey extends Key {
{
name = "skeleton key";
image = ItemSpriteSheet.SKELETON_KEY;
stackable = false;
}