Adjust shopkeeper damage fixing

Allow shopkeeper to remove webs and pits.

Change the damage fix messaging to be more specific when
shopkeeper removes a trap. Before this the message was
"A trap was removed from the floor", which sounds really silly
when it comes to holes.

Change the damage fixing so the shopkeeper will fix one damage spot
at a time (instead of all at once), so it's more like a monster action.

Some code cleanup, splitting into smaller functions.

While doing this, I noticed that shopkeepers don't actually bill
the hero for the damage, but that'll have to be another commit...
This commit is contained in:
Pasi Kallinen
2021-06-25 19:50:02 +03:00
parent 823b770ad9
commit 075844b4d6
8 changed files with 188 additions and 166 deletions

View File

@@ -549,6 +549,7 @@ make fire-command autowield an appropriate launcher and add fireassist boolean
option to toggle the assistance off
Angels and priests were always described as "the {Angel,priest,high priest} of
<deity>" when first two should have been "{an Angel,a high priest}..."
shopkeepers can remove pits and webs
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository