v2.1.2: Armors now include tier in their desc
This commit is contained in:
@@ -78,8 +78,8 @@ items.armor.armor.detach_seal=You detach the seal from your armor.
|
|||||||
items.armor.armor.equip_cursed=The armor 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 armor to identify it.
|
items.armor.armor.identify=You are now familiar enough with your armor to identify it.
|
||||||
items.armor.armor.incompatible=Interaction of different types of magic has erased the glyph on this armor!
|
items.armor.armor.incompatible=Interaction of different types of magic has erased the glyph on this armor!
|
||||||
items.armor.armor.curr_absorb=This armor blocks _%1$d-%2$d damage_ and requires _%3$d strength_ to use properly.
|
items.armor.armor.curr_absorb=This _tier-%1$d_ armor blocks _%2$d-%3$d damage_ and requires _%4$d strength_ to use properly.
|
||||||
items.armor.armor.avg_absorb=Typically this armor blocks _%1$d-%2$d damage_ and requires _%3$d strength_ to use properly.
|
items.armor.armor.avg_absorb=Typically this _tier-%1$d_ armor blocks _%2$d-%3$d damage_ and requires _%4$d strength_ to use properly.
|
||||||
items.armor.armor.too_heavy=Because of your inadequate strength wearing this armor will decrease your ability to move, evade, and defend.
|
items.armor.armor.too_heavy=Because of your inadequate strength wearing this armor will decrease your ability to move, evade, and defend.
|
||||||
items.armor.armor.probably_too_heavy=Probably this armor is too heavy for you.
|
items.armor.armor.probably_too_heavy=Probably this armor is too heavy for you.
|
||||||
items.armor.armor.excess_str=Because of your excess strength, you are _more evasive_ while wearing this armor.
|
items.armor.armor.excess_str=Because of your excess strength, you are _more evasive_ while wearing this armor.
|
||||||
|
|||||||
@@ -471,13 +471,13 @@ public class Armor extends EquipableItem {
|
|||||||
String info = desc();
|
String info = desc();
|
||||||
|
|
||||||
if (levelKnown) {
|
if (levelKnown) {
|
||||||
info += "\n\n" + Messages.get(Armor.class, "curr_absorb", DRMin(), DRMax(), STRReq());
|
info += "\n\n" + Messages.get(Armor.class, "curr_absorb", tier, DRMin(), DRMax(), STRReq());
|
||||||
|
|
||||||
if (STRReq() > Dungeon.hero.STR()) {
|
if (STRReq() > Dungeon.hero.STR()) {
|
||||||
info += " " + Messages.get(Armor.class, "too_heavy");
|
info += " " + Messages.get(Armor.class, "too_heavy");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
info += "\n\n" + Messages.get(Armor.class, "avg_absorb", DRMin(0), DRMax(0), STRReq(0));
|
info += "\n\n" + Messages.get(Armor.class, "avg_absorb", tier, DRMin(0), DRMax(0), STRReq(0));
|
||||||
|
|
||||||
if (STRReq(0) > Dungeon.hero.STR()) {
|
if (STRReq(0) > Dungeon.hero.STR()) {
|
||||||
info += " " + Messages.get(Armor.class, "probably_too_heavy");
|
info += " " + Messages.get(Armor.class, "probably_too_heavy");
|
||||||
|
|||||||
Reference in New Issue
Block a user