v0.3.4: externalized strings belonging to blobs

This commit is contained in:
Evan Debenham
2015-12-27 22:08:03 -05:00
committed by Evan Debenham
parent 18bcdd42cb
commit 2c0cd939f0
13 changed files with 41 additions and 19 deletions
@@ -28,6 +28,7 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
import com.shatteredpixel.shatteredpixeldungeon.effects.BlobEmitter;
import com.shatteredpixel.shatteredpixeldungeon.effects.Speck;
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog;
import com.shatteredpixel.shatteredpixeldungeon.utils.Utils;
import com.watabou.utils.Random;
@@ -63,7 +64,7 @@ public class ToxicGas extends Blob implements Hero.Doom {
@Override
public String tileDesc() {
return "A greenish cloud of toxic gas is swirling here.";
return Messages.get(this, "desc");
}
@Override
@@ -72,6 +73,6 @@ public class ToxicGas extends Blob implements Hero.Doom {
Badges.validateDeathFromGas();
Dungeon.fail( ResultDescriptions.GAS );
GLog.n( "You died from a toxic gas.." );
GLog.n( Messages.get(this, "ondeath") );
}
}