summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/lair.des
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-01 17:37:56 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-01 17:37:56 +0000
commit11c08abe629362a45f0276212dfcd5ca2069b9b8 (patch)
tree94d78cb7d876adab5c7a46ee540694dfdb78c2d7 /crawl-ref/source/dat/lair.des
parent127bc45cca50bbfc9112612b54969c7b889145cb (diff)
downloadcrawl-ref-11c08abe629362a45f0276212dfcd5ca2069b9b8.tar.gz
crawl-ref-11c08abe629362a45f0276212dfcd5ca2069b9b8.zip
The royal jelly's death triggers wall change even if it is off-level. Also fixed being able to lose the royal jelly when banishing it and crash when killing the royal jelly in the Abyss.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4030 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dat/lair.des')
-rw-r--r--crawl-ref/source/dat/lair.des34
1 files changed, 1 insertions, 33 deletions
diff --git a/crawl-ref/source/dat/lair.des b/crawl-ref/source/dat/lair.des
index c476cb5581..a17c3be158 100644
--- a/crawl-ref/source/dat/lair.des
+++ b/crawl-ref/source/dat/lair.des
@@ -3,33 +3,6 @@
# branch endings for Shoals, Snake Pit, Slime Pit and Swamp.
##############################################################################
-lua {{
-
--- Special effects for Slime:6
-function slime_wall_morph(x)
- local stone = dgn.feature_number('stone_wall')
- local inlos = false
- for x = 0, dgn.GXM - 1 do
- for y = 0, dgn.GYM - 1 do
- if dgn.grid(x, y) == stone and you.see_grid(x, y) then
- inlos = true
- break
- end
- end
- if inlos then break end
- end
- dgn.replace_feat { stone_wall= "clear_rock_wall" }
- if inlos then
- crawl.mpr("Suddenly all colour oozes out of the stone walls.",
- "monster_enchant")
- else
- crawl.mpr("You feel a strange vibration for a moment.",
- "monster_enchant")
- end
-end
-
-}}
-
##############################################################################
# Lair entries
##############################################################################
@@ -785,11 +758,6 @@ SUBST: " : " .:3, " = .c
NSUBST: P = O / *|
SHUFFLE: ([{
LFLAGS: no_tele_control
-MARKER: X = lua:mons_dies_change_flags { \
- mon_name="royal jelly", \
- trigger=slime_wall_morph \
- }
-SUBST: X = .
MAP
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
@@ -823,7 +791,7 @@ xxxxxxxxxxxx'................"cc**|*cc..cc*|**cc"................'''xxxxxxxxxxxx
xxxxxxxxxxxx'................"ccc**c|cc4c|c**ccc"..................xxxxxxxxxxxxx
xxxxxxxxxxx'................."cccccccc.3cccccccc"..................'xxxxxxxxxxxx
xxxxxxxxxxx'................."c.4.c.4.1..4.c.4.c"..................''xxxxxxxxxxx
-xxxxxxxxxxx'..................2.c.4.c.X..c.4.c.2....................'xxxxxxxxxxx
+xxxxxxxxxxx'..................2.c.4.c....c.4.c.2....................'xxxxxxxxxxx
xxxxxxxxxx'..........)......."cccccccc3.cccccccc"...................'xxxxxxxxxxx
xxxxxxxxxx'.................."ccc**c|cc4c|c**ccc"...................'xxxxxxxxxxx
xxxxxxxxxx'.................."cc**|*cc..cc*|**cc"..................'xxxxxxxxxxxx