summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2010-01-11 10:03:43 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2010-01-11 10:04:25 +1000
commit66a603dc84988e6fb5aa13713c9e6401d5e4fae4 (patch)
tree4b9b58d44412ffe103508ba2205e8fbe7725d4af /crawl-ref/source/dat
parentb62a72ee0d297f09ef26873fde74c140339736ea (diff)
downloadcrawl-ref-66a603dc84988e6fb5aa13713c9e6401d5e4fae4.tar.gz
crawl-ref-66a603dc84988e6fb5aa13713c9e6401d5e4fae4.zip
Set the glass_crypt liches free when you get to the loot.
Diffstat (limited to 'crawl-ref/source/dat')
-rw-r--r--crawl-ref/source/dat/crypt.des20
1 files changed, 20 insertions, 0 deletions
diff --git a/crawl-ref/source/dat/crypt.des b/crawl-ref/source/dat/crypt.des
index c1b6ade7cf..462602ef74 100644
--- a/crawl-ref/source/dat/crypt.des
+++ b/crawl-ref/source/dat/crypt.des
@@ -601,6 +601,26 @@ MONS: flying skull / skeletal warrior / w:40 nothing
KFEAT: ^ = alarm trap
SUBST: F = G:100 F:1
KMONS: F = orange crystal statue / silver statue / ice statue
+WEIGHT: 10000000000
+{{
+lua_marker("m", portal_desc { wall_phase =1 })
+
+function drop_walls (data, triggerable, triggerer, marker, ev)
+ if data.trig == true then
+ return
+ else
+ data.trig = true
+ end
+
+ crawl.mpr("The liches are set free!", "warning")
+ for slave in iter.slave_iterator("wall_phase", 1) do
+ dgn.terrain_changed(slave.x, slave.y, "floor", false, false, false)
+ end
+end
+
+lua_marker("|", Triggerable.synchronized_markers(function_at_spot(drop_walls,
+ { trig = false}, true, { only_at_slave = true, listen_to_slaves = true })))
+}}
MAP
.....................
.....................