From d39ce6d858545bf41a3b0b7e77e06807bc378ddc Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Sat, 14 Nov 2009 13:20:08 +1000 Subject: New monster vault flags: name_descriptor, name_definite. This changes the mechanics of naming slightly, allowing you to give a monster a name that is a descriptor and will be treated with the usual articles (your, the, a, etc) rather than as a name. See documentation. --- crawl-ref/source/enum.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/enum.h') diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index d33a2ec149..5234f373b1 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -2158,7 +2158,14 @@ enum monster_flag_type MF_PRIEST = 0x800000, // Is a priest (divine spells) // for the conduct. - MF_GOING_BERSERK = 0x1000000 // Is about to go berserk! + MF_GOING_BERSERK = 0x1000000,// Is about to go berserk! + + MF_NAME_DESCRIPTOR = 0x2000000,// mname should be treated with normal + // grammar, ie, prevent "You hit red rat" + // and other such constructs. + MF_NAME_DEFINITE = 0x4000000 // give this monster the definite "the" + // article, instead of the indefinite "a" + // article. }; // Adding slots breaks saves. YHBW. -- cgit v1.2.3-54-g00ecf