summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-flags.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-05-26 07:43:43 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-05-26 08:20:32 +0200
commit3b50b19d909d12ac1a11b1b0bd5d0b8c86423815 (patch)
treea6b423e14ca28eb3e361c24003189a1ca503dcc3 /crawl-ref/source/mon-flags.h
parentdce090dbc69ac64223ddb59ddf22e94132f219d1 (diff)
downloadcrawl-ref-3b50b19d909d12ac1a11b1b0bd5d0b8c86423815.tar.gz
crawl-ref-3b50b19d909d12ac1a11b1b0bd5d0b8c86423815.zip
A monster flag M_CANT_SPAWN, to mark dummy monsters.
Genus-only, recolouring, etc. Not for "dummies" which are valid monsters otherwise. This is mostly redundant with M_NO_POLY_TO which it implies, for now.
Diffstat (limited to 'crawl-ref/source/mon-flags.h')
-rw-r--r--crawl-ref/source/mon-flags.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-flags.h b/crawl-ref/source/mon-flags.h
index 65ad3305aa..300b984f1f 100644
--- a/crawl-ref/source/mon-flags.h
+++ b/crawl-ref/source/mon-flags.h
@@ -146,6 +146,9 @@ const uint64_t M_MAINTAIN_RANGE = (uint64_t)1<<44;
// flesh is not usable for making zombies
const uint64_t M_NO_ZOMBIE = (uint64_t)1<<45;
+// cannot be placed by any means, even on the arena/etc
+const uint64_t M_CANT_SPAWN = (uint64_t)1<<46;
+
// Same for flags for actual monsters.
typedef uint64_t monster_flag_type;
const uint64_t MF_NO_REWARD = BIT(0); // no benefit from killing