eating gold in front of the vault guard (trunk only)
<email deleted> wrote: > Eating gold in a vault (or polymorphing a pile of gold into 1 gold piece) > doesn't anger the guard. This addresses the eating part of that report, but the hero has to get caught doing it.
This commit is contained in:
@@ -2236,6 +2236,7 @@ E int FDECL(gd_move, (struct monst *));
|
||||
E void NDECL(paygd);
|
||||
E long NDECL(hidden_gold);
|
||||
E boolean NDECL(gd_sound);
|
||||
E void FDECL(vault_gd_watching, (unsigned int));
|
||||
|
||||
/* ### version.c ### */
|
||||
|
||||
|
||||
@@ -62,6 +62,8 @@
|
||||
** formerly vault.h -- vault guard extension
|
||||
*/
|
||||
#define FCSIZ (ROWNO+COLNO)
|
||||
#define GD_EATGOLD 0x01
|
||||
#define GD_DESTROYGOLD 0x02
|
||||
|
||||
struct fakecorridor {
|
||||
xchar fx, fy, ftyp;
|
||||
@@ -75,7 +77,8 @@ struct egd {
|
||||
d_level gdlevel; /* level (& dungeon) guard was created in */
|
||||
xchar warncnt; /* number of warnings to follow */
|
||||
Bitfield(gddone,1); /* true iff guard has released player */
|
||||
Bitfield(unused,7);
|
||||
Bitfield(witness,2); /* the guard saw you do something */
|
||||
Bitfield(unused,5);
|
||||
struct fakecorridor fakecorr[FCSIZ];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user