diff --git a/core/src/main/assets/messages/items/items.properties b/core/src/main/assets/messages/items/items.properties index ea66c7e1c..efda441b5 100644 --- a/core/src/main/assets/messages/items/items.properties +++ b/core/src/main/assets/messages/items/items.properties @@ -2112,6 +2112,7 @@ items.brokenseal.unknown_armor=You must identify that armor first. items.brokenseal.cursed_armor=The seal won't apply to cursed armor. items.brokenseal.affix=You affix the seal to your armor! items.brokenseal.desc=A wax seal, affixed to armor as a symbol of valor. All the markings on the seal have worn off with age and it is broken in half down the middle.\n\nA memento from his home, the seal helps the warrior persevere. While wearing the seal the warrior will slowly generate shielding on top of his health based on the quality of his armor.\n\nThe seal can be _affixed to armor,_ and moved between armors. It can carry a single upgrade with it, so long as that upgrade was applied to the armor while the seal was attached to it. +items.brokenseal.inscribed=The seal is inscribed with a _%s._ items.brokenseal.choose_title=Choose a Glyph items.brokenseal.choose_desc=Both this armor and the broken seal are carrying a glyph. Pick which glyph should be kept.\n\nNote that if you pick the glyph that is currently on the armor, the seal will not be able to transfer it later. diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/BrokenSeal.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/BrokenSeal.java index 549b5407b..70af82b54 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/BrokenSeal.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/BrokenSeal.java @@ -116,6 +116,21 @@ public class BrokenSeal extends Item { } } + @Override + public String name() { + return glyph != null ? glyph.name( super.name() ) : super.name(); + } + + @Override + public String info() { + String info = super.info(); + if (glyph != null){ + info += "\n\n" + Messages.get(this, "inscribed", glyph.name()); + info += " " + glyph.desc(); + } + return info; + } + @Override //scroll of upgrade can be used directly once, same as upgrading armor the seal is affixed to then removing it. public boolean isUpgradable() {