Allow creating unhidden traps in special levels

des.trap({ type = "rust", seen = true });
This commit is contained in:
Pasi Kallinen
2022-02-19 12:38:24 +02:00
parent a1d5464fa7
commit c434236f1e
6 changed files with 11 additions and 0 deletions

View File

@@ -519,6 +519,7 @@ enum bodypart_types {
#define MKTRAP_NOFLAGS 0x0
#define MKTRAP_MAZEFLAG 0x1 /* trap placed on coords as if in maze */
#define MKTRAP_NOSPIDERONWEB 0x2 /* web will not generate a spider */
#define MKTRAP_SEEN 0x4 /* trap is seen */
#define MON_POLE_DIST 5 /* How far monsters can use pole-weapons */
#define PET_MISSILE_RANGE2 36 /* Square of distance within which pets shoot */