diff options
author | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-26 02:34:48 +0000 |
---|---|---|
committer | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-26 02:34:48 +0000 |
commit | 7865993ce0e6e5aa1eccafdc462f37e6ebf82951 (patch) | |
tree | 91eb0aaf1ab0375f62769fb8d5ac77a7eaa2659c /crawl-ref/source/enum.h | |
parent | 7b4bf560e594279a0859b30a89f65b2bb251acb0 (diff) | |
download | crawl-ref-7865993ce0e6e5aa1eccafdc462f37e6ebf82951.tar.gz crawl-ref-7865993ce0e6e5aa1eccafdc462f37e6ebf82951.zip |
[2022204] Don't allow items to be created on features that they shouldn't be. Complain via diagnostic if they are, and then remove the item.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6683 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r-- | crawl-ref/source/enum.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index c68cc8d488..92984e860c 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -916,6 +916,9 @@ enum dungeon_feature_type DNGN_SHALLOW_WATER = 65, // 65 DNGN_WATER_STUCK, + // Lowest grid value that an item can be placed on. + DNGN_MINITEM = DNGN_SHALLOW_WATER, + DNGN_FLOOR_MIN = 67, DNGN_FLOOR = DNGN_FLOOR_MIN, DNGN_FLOOR_SPECIAL, // currently only used for colouring bazaars |