v0.3.4: externalized all buff strings
This commit is contained in:
committed by
Evan Debenham
parent
801fd58e7c
commit
77d16d5a93
@@ -22,6 +22,7 @@ package com.shatteredpixel.shatteredpixeldungeon.actors.buffs;
|
||||
|
||||
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.sprites.CharSprite;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.ui.BuffIndicator;
|
||||
|
||||
@@ -60,17 +61,11 @@ public class Levitation extends FlavourBuff {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Levitating";
|
||||
return Messages.get(this, "name");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String desc() {
|
||||
return "A magical force is levitating you over the ground, making you feel weightless.\n" +
|
||||
"\n " +
|
||||
"While levitating you ignore all ground-based effects. Traps won't trigger, water won't put out fire, " +
|
||||
"plants won't be trampled, roots will miss you, and you will hover right over pits. " +
|
||||
"Be careful, as all these things can come into effect the second the levitation ends!\n" +
|
||||
"\n" +
|
||||
"You are levitating for " + dispTurns() + ".";
|
||||
return Messages.get(this, "desc", dispTurns());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user