summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abyss.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-23 18:30:26 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-23 18:30:26 +0000
commit1066dfb75a2e07bc860ef737f6a8339bea501835 (patch)
tree048f7a160f1c79c598d072b6ff40f8a06537f249 /crawl-ref/source/abyss.cc
parentb94742c45d3488f4fda29c5e1977e58b5409ebaf (diff)
downloadcrawl-ref-1066dfb75a2e07bc860ef737f6a8339bea501835.tar.gz
crawl-ref-1066dfb75a2e07bc860ef737f6a8339bea501835.zip
Implemented David Ploog's "Lucy" abyssal god. An altar has a 20%
chance of showing up in each Abyss area. Many things still need to be done: better naming, better descriptive text, differentiation from Makhleb in preferences, etc. Playtesting and debugging required. Breaks savefiles. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@698 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abyss.cc')
-rw-r--r--crawl-ref/source/abyss.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/abyss.cc b/crawl-ref/source/abyss.cc
index be6701534c..dd915a3e80 100644
--- a/crawl-ref/source/abyss.cc
+++ b/crawl-ref/source/abyss.cc
@@ -47,6 +47,8 @@ void generate_abyss(void)
}
grd[45][35] = DNGN_FLOOR;
+ if ( one_chance_in(5) )
+ grd[46][35] = DNGN_ALTAR_LUCY;
} // end generate_abyss()
@@ -379,4 +381,7 @@ void abyss_teleport( bool new_area )
generate_area( 10, 10, (GXM - 10), (GYM - 10) );
grd[you.x_pos][you.y_pos] = DNGN_FLOOR;
+ if ( one_chance_in(5) )
+ grd[you.x_pos + 1][you.y_pos] = DNGN_ALTAR_LUCY;
+
}