diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-14 13:20:08 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-14 13:22:05 +1000 |
commit | d39ce6d858545bf41a3b0b7e77e06807bc378ddc (patch) | |
tree | 0c24aa8774f13506920907c0060ff001986bbf38 /crawl-ref/source/enum.h | |
parent | 59caf0a6e21f6437e001c5ed07590f32b6ea86a7 (diff) | |
download | crawl-ref-d39ce6d858545bf41a3b0b7e77e06807bc378ddc.tar.gz crawl-ref-d39ce6d858545bf41a3b0b7e77e06807bc378ddc.zip |
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.
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r-- | crawl-ref/source/enum.h | 9 |
1 files changed, 8 insertions, 1 deletions
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. |