landmines and boulders

Make pushing a boulder onto a landmine share code with the trap case,
resulting in pits, waking sleepers, et al.
Don't leave a boulder suspended over the new pit, fill it.
Make sure any remaining boulder is placed on top of the pile.
If player sets off landmine, monsters killed are credited to/blamed on player.
This commit is contained in:
cohrs
2002-01-25 06:38:42 +00:00
parent 7406ad3855
commit f73a1879c9
6 changed files with 21 additions and 13 deletions

View File

@@ -1953,6 +1953,7 @@ E struct trap *FDECL(t_at, (int,int));
E void FDECL(b_trapped, (const char *,int));
E boolean NDECL(unconscious);
E boolean NDECL(lava_effects);
E void FDECL(blow_up_landmine, (struct trap *));
E int FDECL(launch_obj,(SHORT_P,int,int,int,int,int));
/* ### u_init.c ### */