From 4b3b35695fd7c129cbd66ad746c5c4050e16be61 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 28 Mar 2016 18:21:52 -0400 Subject: [PATCH] v0.3.5: fixed some curse equip messages (difficulties in other languages with variable nouns) --- .../shatteredpixeldungeon/items/KindOfWeapon.java | 2 +- .../shatteredpixeldungeon/items/armor/Armor.java | 2 +- .../shatteredpixeldungeon/messages/items/items.properties | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/KindOfWeapon.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/KindOfWeapon.java index 64f817838..ae45f626c 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/KindOfWeapon.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/KindOfWeapon.java @@ -50,7 +50,7 @@ abstract public class KindOfWeapon extends EquipableItem { cursedKnown = true; if (cursed) { equipCursed( hero ); - GLog.n( Messages.get(KindOfWeapon.class, "cursed", name()) ); + GLog.n( Messages.get(KindOfWeapon.class, "cursed") ); } hero.spendAndNext( TIME_TO_EQUIP ); diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/armor/Armor.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/armor/Armor.java index d67451422..6c67271e8 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/armor/Armor.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/armor/Armor.java @@ -144,7 +144,7 @@ public class Armor extends EquipableItem { cursedKnown = true; if (cursed) { equipCursed( hero ); - GLog.n( Messages.get(Armor.class, "equip_cursed", toString()) ); + GLog.n( Messages.get(Armor.class, "equip_cursed") ); } ((HeroSprite)hero.sprite).updateArmor(); diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/messages/items/items.properties b/src/com/shatteredpixel/shatteredpixeldungeon/messages/items/items.properties index ccea6984a..bc36d4d6c 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/messages/items/items.properties +++ b/src/com/shatteredpixel/shatteredpixeldungeon/messages/items/items.properties @@ -31,7 +31,7 @@ items.armor.glyphs.viscosity$defereddamage.desc=While your armor's glyph has pro ###armor items.armor.armor.ac_detach=DETACH items.armor.armor.detach_sigil=You detach the sigil from your armor. -items.armor.armor.equip_cursed=your %s constricts around you painfully +items.armor.armor.equip_cursed=The armor constricts around you painfully. items.armor.armor.identify=you are now familiar enough with your %s to identify it. It is %s. items.armor.armor.incompatible=Interaction of different types of magic has erased the glyph on this armor! items.armor.armor.curr_absorb=This armor provides damage absorption up to %d points per attack. @@ -846,7 +846,7 @@ items.item.rankings_desc=Killed by: %s items.kindofmisc.unequip_title=Unequip one item items.kindofmisc.unequip_message=You can only wear two misc items at a time. -items.kindofweapon.cursed=you wince as your grip involuntarily tightens around your %s +items.kindofweapon.cursed=Your grip involuntarily tightens around the weapon. items.merchantsbeacon.name=merchant's beacon items.merchantsbeacon.ac_use=USE