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
@@ -21,6 +21,7 @@
package com.shatteredpixel.shatteredpixeldungeon.actors.buffs;
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
import com.shatteredpixel.shatteredpixeldungeon.ui.BuffIndicator;
public class Blindness extends FlavourBuff {
@@ -42,17 +43,11 @@ public class Blindness extends FlavourBuff {
@Override
public String toString() {
return "Blinded";
return Messages.get(this, "name");
}
@Override
public String desc() {
return "Blinding turns the surrounding world into a dark haze.\n" +
"\n" +
"While blinded, a character can't see more than one tile infront of themselves, rendering ranged " +
"attacks useless and making it very easy to lose track of distant enemies. Additionally, a blinded " +
"hero is unable to read scrolls or books.\n" +
"\n" +
"The blindness will last for " + dispTurns() + ".";
return Messages.get(this, "desc", dispTurns());
}
}