summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-18 18:58:52 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-18 18:58:52 +0000
commit6d7627cb65e54dae22237da82ea076bf17b1f9b7 (patch)
tree43eda0c3c953b041e1419650cc78a6ae9c381374 /crawl-ref/source/dungeon.cc
parent66c0054398335a6929dd22d3690775027b9906b6 (diff)
downloadcrawl-ref-6d7627cb65e54dae22237da82ea076bf17b1f9b7.tar.gz
crawl-ref-6d7627cb65e54dae22237da82ea076bf17b1f9b7.zip
Add the Slime god as per n78291's (Shayne?) patch. Thanks! :D
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10271 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 3dba2c23a0..ee7488db82 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -4681,6 +4681,9 @@ int dgn_place_monster(mons_spec &mspec,
case ATT_GOOD_NEUTRAL:
mg.behaviour = BEH_GOOD_NEUTRAL;
break;
+ case ATT_STRICT_NEUTRAL:
+ mg.behaviour = BEH_STRICT_NEUTRAL;
+ break;
default:
break;
}
@@ -5341,7 +5344,7 @@ static dungeon_feature_type _pick_an_altar()
|| player_in_branch( BRANCH_ECUMENICAL_TEMPLE )
|| you.level_type == LEVEL_LABYRINTH)
{
- // No extra altars in Temple, none at all in Slime Pits or Labyrinth.
+ // No extra altars in Temple, none at all in Labyrinth.
altar_type = DNGN_FLOOR;
}
else if (you.level_type == LEVEL_DUNGEON && !one_chance_in(5))
@@ -5388,6 +5391,10 @@ static dungeon_feature_type _pick_an_altar()
: DNGN_ALTAR_MAKHLEB);
break;
+ case BRANCH_SLIME_PITS:
+ altar_type = DNGN_ALTAR_JIYVA;
+ break;
+
case BRANCH_TOMB:
altar_type = DNGN_ALTAR_KIKUBAAQUDGHA;
break;