v0.4.0: updated the behaviour of arcane stylii
This commit is contained in:
parent
4988be16fe
commit
55812b30e1
|
@ -79,6 +79,14 @@ public class Stylus extends Item {
|
|||
}
|
||||
|
||||
private void inscribe( Armor armor ) {
|
||||
|
||||
if (!armor.isIdentified() ){
|
||||
GLog.w( Messages.get(this, "identify"));
|
||||
return;
|
||||
} else if (armor.cursed || (armor.glyph != null && armor.glyph.curse())){
|
||||
GLog.w( Messages.get(this, "cursed"));
|
||||
return;
|
||||
}
|
||||
|
||||
detach(curUser.belongings.backpack);
|
||||
|
||||
|
|
|
@ -999,6 +999,8 @@ items.merchantsbeacon.desc=This odd piece of dwarven technology allows you to co
|
|||
items.stylus.name=arcane stylus
|
||||
items.stylus.ac_inscribe=INSCRIBE
|
||||
items.stylus.prompt=Select an armor to inscribe
|
||||
items.stylus.identify=You must identify that armor first.
|
||||
items.stylus.cursed=The stylus's magic will not work on cursed armor.
|
||||
items.stylus.inscribed=You inscribed your armor with the stylus
|
||||
items.stylus.desc=This arcane stylus is made of some dark, very hard stone. Using it you can inscribe a magical glyph on your armor, but you have no power over choosing what glyph it will be, the stylus will decide it for you.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user