summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/traps.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2013-11-02 20:31:31 -0600
committerAdam Borowski <kilobyte@angband.pl>2013-11-12 06:41:06 +0100
commit1b62a5d5613b076a70117541fb9b0aa831dcf122 (patch)
treeb11ad58c0f1b8af3f10987b2c5846560cfe54e0a /crawl-ref/source/traps.cc
parentc7c129ded1e36e56fc4b992bc773c2d77c90be18 (diff)
downloadcrawl-ref-1b62a5d5613b076a70117541fb9b0aa831dcf122.tar.gz
crawl-ref-1b62a5d5613b076a70117541fb9b0aa831dcf122.zip
Transform the lower half of D into a new branch: the Depths.
D is now 16 levels (the unsealed part was 14 levels previously), and the Depths are six levels. Vaults is enterable from Depths:2-5; Abyss, Hell, and Pan portals are available for the entire length of the branch. Right now the monster set is identical to Vaults except for the absence of Vaults-specific humans. D's monster set has also been truncated, mainly on the out-of-depth front. It's my intent that this serve as a starting point for figuring out what monsters we want to split between the two branches.
Diffstat (limited to 'crawl-ref/source/traps.cc')
-rw-r--r--crawl-ref/source/traps.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/crawl-ref/source/traps.cc b/crawl-ref/source/traps.cc
index d73b870333..8fd5f70ee2 100644
--- a/crawl-ref/source/traps.cc
+++ b/crawl-ref/source/traps.cc
@@ -1656,9 +1656,6 @@ bool is_valid_shaft_level(const level_id &place)
if (!is_connected_branch(place))
return false;
- if (place == BRANCH_DUNGEON && you.depth == RUNE_LOCK_DEPTH)
- return false;
-
// Shafts are now allowed on the first two levels, as they have a
// good chance of being detected. You'll also fall less deep.
/* if (place == BRANCH_DUNGEON && you.depth < 3)
@@ -1706,8 +1703,6 @@ static level_id _generic_shaft_dest(level_pos lpos, bool known = false)
int curr_depth = lid.depth;
int max_depth = brdepth[lid.branch];
- if (lid.branch == BRANCH_DUNGEON and curr_depth < RUNE_LOCK_DEPTH)
- max_depth = RUNE_LOCK_DEPTH;
// Shaft traps' behavior depends on whether it is entered intentionally.
// Knowingly entering one is more likely to drop you 1 level.