v2.5.0: added game log text for when shopkeepers flee

This commit is contained in:
Evan Debenham
2024-06-27 13:16:22 -04:00
parent aa7b645645
commit 59727ea864
2 changed files with 3 additions and 0 deletions

View File

@@ -1066,6 +1066,7 @@ actors.mobs.npcs.sheep.desc=This is a magic sheep. What's so magical about it? Y
actors.mobs.npcs.shopkeeper.name=shopkeeper
actors.mobs.npcs.shopkeeper.thief=Thief, Thief!
actors.mobs.npcs.shopkeeper.warn=Watch it! I won't warn you again.
actors.mobs.npcs.shopkeeper.flee=The shopkeeper flees!
actors.mobs.npcs.shopkeeper.sell=Sell an item
actors.mobs.npcs.shopkeeper.talk=Talk
actors.mobs.npcs.shopkeeper.buyback=The shopkeeper reluctantly returns your item.

View File

@@ -150,6 +150,8 @@ public class Shopkeeper extends NPC {
destroy();
Notes.remove( landmark() );
GLog.newLine();
GLog.n(Messages.get(this, "flee"));
if (sprite != null) {
sprite.killAndErase();