v0.3.4: externalized all buff strings

This commit is contained in:
Evan Debenham
2015-12-28 20:23:15 -05:00
committed by Evan Debenham
parent 801fd58e7c
commit 77d16d5a93
42 changed files with 239 additions and 305 deletions
@@ -24,6 +24,7 @@ import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.CloakOfShadows;
import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.TimekeepersHourglass;
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
import com.shatteredpixel.shatteredpixeldungeon.sprites.CharSprite;
import com.shatteredpixel.shatteredpixeldungeon.ui.BuffIndicator;
@@ -65,17 +66,12 @@ public class Invisibility extends FlavourBuff {
@Override
public String toString() {
return "Invisible";
return Messages.get(this, "name");
}
@Override
public String desc() {
return "You are completely blended into the surrounding terrain, making you impossible to see.\n" +
"\n" +
"While you are invisible enemies are unable to attack or follow you. " +
"Physical attacks and magical effects (such as scrolls and wands) will immediately cancel invisibility.\n" +
"\n" +
"This invisibility will last for " + dispTurns() + ".";
return Messages.get(this, "desc", dispTurns());
}
public static void dispel() {