v0.3.4: externalized all plant strings
This commit is contained in:
committed by
Evan Debenham
parent
7860a77789
commit
2776614cd1
@@ -34,14 +34,9 @@ import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
|
||||
import com.watabou.utils.Random;
|
||||
|
||||
public class Blindweed extends Plant {
|
||||
|
||||
private static final String TXT_DESC =
|
||||
"Upon being touched a Blindweed perishes in a bright flash of light. " +
|
||||
"The flash is strong enough to disorient for several seconds.";
|
||||
|
||||
{
|
||||
image = 3;
|
||||
plantName = "Blindweed";
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -63,25 +58,13 @@ public class Blindweed extends Plant {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String desc() {
|
||||
return TXT_DESC;
|
||||
}
|
||||
|
||||
public static class Seed extends Plant.Seed {
|
||||
{
|
||||
plantName = "Blindweed";
|
||||
|
||||
name = "seed of " + plantName;
|
||||
setPlant(Blindweed.class);
|
||||
|
||||
image = ItemSpriteSheet.SEED_BLINDWEED;
|
||||
|
||||
plantClass = Blindweed.class;
|
||||
|
||||
alchemyClass = PotionOfInvisibility.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String desc() {
|
||||
return TXT_DESC;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user