summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 107951b5b2..53f81ca337 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -1206,6 +1206,17 @@ void monster_die(monsters *monster, killer_type killer, int i, bool silent)
dgn_event(DET_MONSTER_DIED, monster->pos(), 0,
monster_index(monster), killer));
+ // This is assuming the royal jelly is a unique monster. Is it?
+ // FIXME: Needs check for being at bottom level of the branch.
+ if (monster->type == MONS_ROYAL_JELLY
+ && player_in_branch( BRANCH_SLIME_PITS ))
+ {
+ mpr("Suddenly, all colour oozes out of the surrounding stone!",
+ MSGCH_MONSTER_ENCHANT);
+
+ replace_area_wrapper(DNGN_STONE_WALL, DNGN_CLEAR_ROCK_WALL);
+ }
+
const coord_def mwhere = monster->pos();
if (drop_items)
_monster_drop_ething(monster, YOU_KILL(killer) || pet_kill);