Using a cursed tin whistle in a vault summons the guard

...since guards respond to shrill whistles.
Based on a patch by Leon Arnott.
This commit is contained in:
Pasi Kallinen
2017-08-04 22:41:26 +03:00
parent e2904012b7
commit b6d1ee3320
5 changed files with 16 additions and 1 deletions

View File

@@ -2510,6 +2510,7 @@ E int FDECL(hide_privileges, (BOOLEAN_P));
E void FDECL(newegd, (struct monst *));
E void FDECL(free_egd, (struct monst *));
E boolean FDECL(grddead, (struct monst *));
E void NDECL(vault_summon_gd);
E char FDECL(vault_occupied, (char *));
E void NDECL(invault);
E int FDECL(gd_move, (struct monst *));

View File

@@ -34,6 +34,9 @@ enum encumbrance_types {
/* weight increment of heavy iron ball */
#define IRON_BALL_W_INCR 160
/* number of turns it takes for vault guard to show up */
#define VAULT_GUARD_TIME 30
/* hunger states - see hu_stat in eat.c */
enum hunger_state_types {
SATIATED = 0,