v0.3.4: corrected some string display errors

This commit is contained in:
Evan Debenham 2016-01-07 01:59:50 -05:00 committed by Evan Debenham
parent 615ea7c0e3
commit ff31a1f303
6 changed files with 9 additions and 9 deletions

View File

@ -81,8 +81,8 @@ public class Brute extends Mob {
enraged = true; enraged = true;
spend( TICK ); spend( TICK );
if (Dungeon.visible[pos]) { if (Dungeon.visible[pos]) {
GLog.w( Messages.get(this, "engraged_text") ); GLog.w( Messages.get(this, "enraged_text") );
sprite.showStatus( CharSprite.NEGATIVE, Messages.get(this, "engraged") ); sprite.showStatus( CharSprite.NEGATIVE, Messages.get(this, "enraged") );
} }
} }
} }

View File

@ -458,7 +458,7 @@ public abstract class Mob extends Char {
} }
if (Dungeon.hero.isAlive() && !Dungeon.visible[pos]) { if (Dungeon.hero.isAlive() && !Dungeon.visible[pos]) {
GLog.i( Messages.get(this, "dead") ); GLog.i( Messages.get(this, "died") );
} }
} }

View File

@ -38,7 +38,7 @@ public class PotionOfInvisibility extends Potion {
public void apply( Hero hero ) { public void apply( Hero hero ) {
setKnown(); setKnown();
Buff.affect( hero, Invisibility.class, Invisibility.DURATION ); Buff.affect( hero, Invisibility.class, Invisibility.DURATION );
GLog.i( Messages.get(this, "invisble") ); GLog.i( Messages.get(this, "invisible") );
Sample.INSTANCE.play( Assets.SND_MELD ); Sample.INSTANCE.play( Assets.SND_MELD );
} }

View File

@ -426,8 +426,8 @@ actors.mobs.monk.desc=These monks are fanatics, who devoted themselves to protec
actors.mobs.newbornelemental.name=newborn fire elemental actors.mobs.newbornelemental.name=newborn fire elemental
actors.mobs.newbornelemental.desc=Fire elementals are a byproduct of summoning greater entities. They are too chaotic in their nature to be controlled by even the most powerful demonologist.\n\nThis fire elemental is freshy summoned, and is weakened as a result. In this state is it especially vulnerable to the cold. Its offensive capabilities are still great though, caution is advised. actors.mobs.newbornelemental.desc=Fire elementals are a byproduct of summoning greater entities. They are too chaotic in their nature to be controlled by even the most powerful demonologist.\n\nThis fire elemental is freshy summoned, and is weakened as a result. In this state is it especially vulnerable to the cold. Its offensive capabilities are still great though, caution is advised.
actors.mobs.pirahna.name=giant piranha actors.mobs.piranha.name=giant piranha
actors.mobs.pirahna.desc=These carnivorous fish are not natural inhabitants of underground pools. They were bred specifically to protect flooded treasure vaults. actors.mobs.piranha.desc=These carnivorous fish are not natural inhabitants of underground pools. They were bred specifically to protect flooded treasure vaults.
actors.mobs.rat.name=marsupial rat actors.mobs.rat.name=marsupial rat
actors.mobs.rat.desc=Marsupial rats are aggressive but rather weak denizens of the sewers. They have a nasty bite, but are only life threatening in large numbers. actors.mobs.rat.desc=Marsupial rats are aggressive but rather weak denizens of the sewers. They have a nasty bite, but are only life threatening in large numbers.

View File

@ -1,4 +1,4 @@
windows.wndblacksmith.prompt=Ok, a deal is a deal, dat's what I can do for you: I can reforge 2 items and turn them into one of a better quality. windows.wndblacksmith.prompt=Ok, a deal is a deal, here's what I can do for you: I can reforge 2 items and turn them into one of a better quality.
windows.wndblacksmith.select=Select an item to reforge windows.wndblacksmith.select=Select an item to reforge
windows.wndblacksmith.reforge=Reforge them windows.wndblacksmith.reforge=Reforge them

View File

@ -70,7 +70,7 @@ public class WndBlacksmith extends Window {
@Override @Override
protected void onClick() { protected void onClick() {
btnPressed = btnItem1; btnPressed = btnItem1;
GameScene.selectItem( itemSelector, WndBag.Mode.UPGRADEABLE, Messages.get(this, "select") ); GameScene.selectItem( itemSelector, WndBag.Mode.UPGRADEABLE, Messages.get(WndBlacksmith.class, "select") );
} }
}; };
btnItem1.setRect( (WIDTH - BTN_GAP) / 2 - BTN_SIZE, message.y + message.height() + BTN_GAP, BTN_SIZE, BTN_SIZE ); btnItem1.setRect( (WIDTH - BTN_GAP) / 2 - BTN_SIZE, message.y + message.height() + BTN_GAP, BTN_SIZE, BTN_SIZE );
@ -80,7 +80,7 @@ public class WndBlacksmith extends Window {
@Override @Override
protected void onClick() { protected void onClick() {
btnPressed = btnItem2; btnPressed = btnItem2;
GameScene.selectItem( itemSelector, WndBag.Mode.UPGRADEABLE, Messages.get(this, "select") ); GameScene.selectItem( itemSelector, WndBag.Mode.UPGRADEABLE, Messages.get(WndBlacksmith.class, "select") );
} }
}; };
btnItem2.setRect( btnItem1.right() + BTN_GAP, btnItem1.top(), BTN_SIZE, BTN_SIZE ); btnItem2.setRect( btnItem1.right() + BTN_GAP, btnItem1.top(), BTN_SIZE, BTN_SIZE );