boulders vs vault walls

Noticed when testing the "wall_angle: unknown" fix, if there is a
boulder rather than a door in the breach in a vault's walls at the
spot where the guard arrives, the guard would walk onto it, tell the
hero to drop any gold and follow, then move back.  The boulder would
remain in the hero's way and couldn't be pushed because the guard was
in the boulder's way.  Have the guard smash any such boulder(s) into
rocks when arriving (with no explanation for how that is accomplished,
just a message about seeing or hearing boulder(s) shatter).  Later
when repairing the walls, delete any rocks or boulders at all vault
wall locations (even when no gap-to-wall repair is needed).
This commit is contained in:
PatR
2021-10-18 12:55:28 -07:00
parent 1d334b861f
commit f9be7a4b8a
3 changed files with 44 additions and 11 deletions

View File

@@ -645,7 +645,12 @@ can now use m<dir> to try to move to an adjacent boulder's spot without
breaching a shop wall, using locking magic to put a door there, then unlocking
that door yielded a situation where subsequent shop damage repair
produced invalid map data which resulted in an impossible() warning
about "wall_angle: unknown" during map display
about "wall_angle: unknown" during map display; similar for a vault
wall if it's the spot where the guard arrives to lead hero out
if vault guard arrives on a boulder in a breach in the vault wall when coming
to lead the hero out, smash that boulder into rocks so that the hero
won't try--and fail, because the guard will be in its way--to push it
when vault walls are repaired, destroy any rocks or boulders at their spots
melting ice timer could persist after the ice was gone from digging or from an
exploding land mine