summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-flags.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2011-10-20 22:14:18 -0400
committerNeil Moore <neil@s-z.org>2011-12-10 16:03:53 -0500
commitb368a4625bff52be3b5ff531d2593cfdb4438fcb (patch)
tree93fc216860567f2498386f5007c195f7e4a04489 /crawl-ref/source/mon-flags.h
parent9a1be99c5a1a5a9e6902945dd67855aa76090b73 (diff)
downloadcrawl-ref-b368a4625bff52be3b5ff531d2593cfdb4438fcb.tar.gz
crawl-ref-b368a4625bff52be3b5ff531d2593cfdb4438fcb.zip
Add name_nocorpse flag.
The flag causes the mname to be ignored for corpses. Apply it to a number of vault creatures such as "hungry kobold" and "terrified wizard", since those adjectives don't accurately describe the corpse. Some edge cases are debatable: "febrile human" has name_nocorpse but "sickly human" does not. Also apply n_spe to some other vault creatures, so e.g. "greater ghost moth corpse" doesn't always get "the".
Diffstat (limited to 'crawl-ref/source/mon-flags.h')
-rw-r--r--crawl-ref/source/mon-flags.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-flags.h b/crawl-ref/source/mon-flags.h
index 669e505a6d..c3426cb8ab 100644
--- a/crawl-ref/source/mon-flags.h
+++ b/crawl-ref/source/mon-flags.h
@@ -210,5 +210,5 @@ const uint64_t MF_NAME_ZOMBIE = BIT(32); // mname replaces zombies/skele
// only for already zombified monsters
const uint64_t MF_SENSED = BIT(33); // Player has been warned
// about this monster being nearby.
-
+const uint64_t MF_NAME_NOCORPSE = BIT(34); // mname should not be used for corpses
#endif