summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/enum.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-29 05:59:51 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-29 05:59:51 +0000
commit3744c360da8fefca3e74ec098b9478df017f6b3f (patch)
treee3cac9c77ce17fc60c982f8677194764a3bcedcd /crawl-ref/source/enum.h
parent3ccb84a86f21de5797a5a2480711233fb38ea9d5 (diff)
downloadcrawl-ref-3744c360da8fefca3e74ec098b9478df017f6b3f.tar.gz
crawl-ref-3744c360da8fefca3e74ec098b9478df017f6b3f.zip
Differentiate between god gift monsters and non-gift monsters with a god via
MF_GOD_GIFT. When a non-god gift priestly monster is first created it will be given a god: orcs Beogh, mummies Kikubaaqudgha or Yredelemnul, and deep elves Kikubaaqudgha, Yredelemnul or Makhleb. Monster spell announcments/messages for priestly monsters now uses the name of their god. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8008 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r--crawl-ref/source/enum.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h
index ee45a5efac..6822d10043 100644
--- a/crawl-ref/source/enum.h
+++ b/crawl-ref/source/enum.h
@@ -2078,7 +2078,8 @@ enum monster_flag_type
// between it and the monster type name.
MF_NAME_REPLACE = 0x30000, // mname entirely replaces normal monster
// name.
- MF_NAME_MASK = 0x30000
+ MF_NAME_MASK = 0x30000,
+ MF_GOD_GIFT = 0x40000 // Is a god gift.
};
// Adding slots breaks saves. YHBW.