From 1066dfb75a2e07bc860ef737f6a8339bea501835 Mon Sep 17 00:00:00 2001 From: haranp Date: Sat, 23 Dec 2006 18:30:26 +0000 Subject: 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 --- crawl-ref/source/abyss.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source/abyss.cc') 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; + } -- cgit v1.2.3-54-g00ecf