diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-11-11 18:13:04 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-11-12 00:58:17 +0100 |
commit | 12bb914d94f41de46d8d84b532fe99c0c2e7b9fc (patch) | |
tree | 367e9f5c52b8c66438f76b88d46bdb9ba4d11c92 /crawl-ref/source/abyss.cc | |
parent | 251549e47f93f74a237562e14df1b18d5f61f93e (diff) | |
download | crawl-ref-12bb914d94f41de46d8d84b532fe99c0c2e7b9fc.tar.gz crawl-ref-12bb914d94f41de46d8d84b532fe99c0c2e7b9fc.zip |
Portals to Pan and empty arches in the Abyss.
Diffstat (limited to 'crawl-ref/source/abyss.cc')
-rw-r--r-- | crawl-ref/source/abyss.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/crawl-ref/source/abyss.cc b/crawl-ref/source/abyss.cc index 1a5db5cbdb..e30013a5be 100644 --- a/crawl-ref/source/abyss.cc +++ b/crawl-ref/source/abyss.cc @@ -320,6 +320,21 @@ static void _generate_area(const coord_def& topleft, mpr("Placing altar.", MSGCH_DIAGNOSTICS); #endif } + + if (one_chance_in(20000)) + { + // Not a vital thing, items shouldn't hurt. + grd(*ri) = DNGN_ENTER_PANDEMONIUM; +#ifdef DEBUG_ABYSS + mpr("Placing a Pan portal.", MSGCH_DIAGNOSTICS); +#endif + } + + if (one_chance_in(10000)) + { + // purely decorative + grd(*ri) = DNGN_STONE_ARCH; + } } } |