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
@@ -20,6 +20,7 @@
*/
package com.shatteredpixel.shatteredpixeldungeon.actors.buffs;
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
import com.watabou.noosa.audio.Sample;
import com.shatteredpixel.shatteredpixeldungeon.Assets;
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
@@ -97,17 +98,11 @@ public class Shadows extends Invisibility {
@Override
public String toString() {
return "Shadowmelded";
return Messages.get(this, "name");
}
@Override
public String desc() {
return "You are blended into the shadows around you, granting you invisibility and slowing your metabolism.\n" +
"\n" +
"While you are invisible enemies are unable to attack or follow you. " +
"Most physical attacks and magical effects (such as scrolls and wands) will immediately cancel invisibility. " +
"Additionally, while shadowmelded, your rate of hunger is slowed.\n" +
"\n" +
"You will remain shadowmelded until you leave the shadows or an enemy comes into contact with you.";
return Messages.get(this, "desc");
}
}