From 6235210791fbc6a6b61d8d7975ab425a9e90e68a Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 31 Mar 2008 19:52:18 +0000 Subject: Ha, I knew there was a reason to cleaning up dungeon.cc - learning by osmosis... :p Anyway, killing the royal jelly now turns all stone walls on the level into clear rock, together with a cute message. This currently only works if you actually kill it on the bottom level - other than the lua magic, which sets a marker to work no matter where you kill the jelly (I think). Still, it's better than nothing. Instead of introducing a wrapper function I probably should have made replace_area non-static, but I wasn't sure if there might be a better way to do this, and wanted to avoid having to change (and then possibly change back) all calls and their indenting. I would have changed the rune probability as well, but I wasn't entirely sure, how. If I had to guess, I'd say that changing P -> O on the branch map is the way to go. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3986 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/chardump.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/chardump.cc') diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc index 65ec415c04..8e26e59668 100644 --- a/crawl-ref/source/chardump.cc +++ b/crawl-ref/source/chardump.cc @@ -576,9 +576,11 @@ static void sdump_notes(dump_params &par) static void sdump_location(dump_params &par) { if (you.your_level == -1 - && you.where_are_you == BRANCH_MAIN_DUNGEON - && you.level_type == LEVEL_DUNGEON) + && you.where_are_you == BRANCH_MAIN_DUNGEON + && you.level_type == LEVEL_DUNGEON) + { par.text += "You escaped"; + } else if (par.se) par.text += "You were " + prep_branch_level_name(); else -- cgit v1.2.3-54-g00ecf