summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/defines.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2012-03-30 01:18:45 +0200
committerRaphael Langella <raphael.langella@gmail.com>2012-03-30 01:18:45 +0200
commit4e1a37c09f2a9ac8f5d4419c3b28fad0ed5365bf (patch)
tree8971dd996e9aee420810be7663d658fca056447f /crawl-ref/source/defines.h
parenta7e274755eee0155b1423f04deec61b4d8405dfb (diff)
downloadcrawl-ref-4e1a37c09f2a9ac8f5d4419c3b28fad0ed5365bf.tar.gz
crawl-ref-4e1a37c09f2a9ac8f5d4419c3b28fad0ed5365bf.zip
Allow item mimics in the abyss.
Diffstat (limited to 'crawl-ref/source/defines.h')
-rw-r--r--crawl-ref/source/defines.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/crawl-ref/source/defines.h b/crawl-ref/source/defines.h
index 8d91f6f16e..5c736fde21 100644
--- a/crawl-ref/source/defines.h
+++ b/crawl-ref/source/defines.h
@@ -213,6 +213,21 @@ const int DEPTH_PAN = 52;
const int BRANCH_DUNGEON_DEPTH = 27;
+//#define DEBUG_MIMIC
+#ifdef DEBUG_MIMIC
+// Missing stairs are replaced in fixup_branch_stairs, but replacing
+// too many breaks interlevel connectivity, so we don't use a chance of 1.
+ #define FEATURE_MIMIC_CHANCE 2
+ #define ITEM_MIMIC_CHANCE 1
+ #define FEATURE_MIMIC_DEPTH 1
+ #define ITEM_MIMIC_DEPTH 1
+#else
+ #define FEATURE_MIMIC_CHANCE 100
+ #define ITEM_MIMIC_CHANCE 500
+ #define FEATURE_MIMIC_DEPTH 10
+ #define ITEM_MIMIC_DEPTH 7
+#endif
+
const int ANTITRAIN_PENALTY = 2;
#define TORNADO_RADIUS 6