summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-13 20:19:13 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-13 20:19:13 +0000
commitbf516ccc1f22f3449c9dce1c7828d97747f247d2 (patch)
tree96dd532b044dcaec47349a70db8bc91a9694fa8b /crawl-ref/source/itemprop.h
parentc4752d24d70640b0e57a7ed227d40ec4e6a617e2 (diff)
downloadcrawl-ref-bf516ccc1f22f3449c9dce1c7828d97747f247d2.tar.gz
crawl-ref-bf516ccc1f22f3449c9dce1c7828d97747f247d2.zip
mapdef/vault items can now have their race type and ego explicitly set.
mapdef/vault monsters can now be given an explicit list of items. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3055 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemprop.h')
-rw-r--r--crawl-ref/source/itemprop.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/itemprop.h b/crawl-ref/source/itemprop.h
index 6873ac5ab3..433b6ed135 100644
--- a/crawl-ref/source/itemprop.h
+++ b/crawl-ref/source/itemprop.h
@@ -73,8 +73,12 @@ enum boot_type // used in pluses2
NUM_BOOT_TYPES
};
+const int SP_FORBID_EGO = -1;
+const int SP_FORBID_BRAND = -1;
+
enum brand_type // equivalent to (you.inv[].special or mitm[].special) % 30
{
+ SPWPN_FORBID_BRAND = -1, // -1
SPWPN_NORMAL, // 0
SPWPN_FLAMING,
SPWPN_FREEZING,
@@ -319,6 +323,7 @@ enum scroll_type
enum special_armour_type
{
+ SPARM_FORBID_EGO = -1, // -1
SPARM_NORMAL, // 0
SPARM_RUNNING,
SPARM_FIRE_RESISTANCE,
@@ -342,6 +347,7 @@ enum special_armour_type
enum special_missile_type // to separate from weapons in general {dlb}
{
+ SPMSL_FORBID_BRAND = -1, // -1
SPMSL_NORMAL, // 0
SPMSL_FLAME, // 1
SPMSL_ICE, // 2