From fae235b09c5fc363f998571caad3c6944576915e Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 19 Jul 2009 10:59:26 +0000 Subject: * Open Zot for good the first time you enter (with three runes or more). * Add tiles for Zot entrance (both closed and open). * Apply zebez' patch 2823787 to make Magic Mapping show altars/gates. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10303 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/misc.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/misc.cc') diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index d4e63f1186..c1ba8b9d93 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -2117,7 +2117,7 @@ void down_stairs( int old_level, dungeon_feature_type force_stair, mpr("You fall through a shaft!"); } - if (stair_find == DNGN_ENTER_ZOT) + if (stair_find == DNGN_ENTER_ZOT && !you.opened_zot) { const int num_runes = runes_in_pack(); @@ -2135,6 +2135,9 @@ void down_stairs( int old_level, dungeon_feature_type force_stair, } return; } + // TODO: This needs a better message! + mpr("The gate opens wide!"); + you.opened_zot = true; } // Bail if any markers veto the move. -- cgit v1.2.3-54-g00ecf