]> granicus.if.org Git - nethack/commit
Adjust shopkeeper damage fixing
authorPasi Kallinen <paxed@alt.org>
Fri, 25 Jun 2021 16:50:02 +0000 (19:50 +0300)
committerPasi Kallinen <paxed@alt.org>
Fri, 25 Jun 2021 17:02:06 +0000 (20:02 +0300)
commit075844b4d624d0cf249d1c2bc851a6484984a06b
treede90f9223888bf82b0fd87081a52e6f81229c821
parent823b770ad9fa780819967767caf058d0e3e095bd
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...
doc/fixes37.0
include/extern.h
include/hack.h
src/dig.c
src/monmove.c
src/polyself.c
src/restore.c
src/shk.c