summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/hells.des
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-04 21:49:19 -0800
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-04 21:51:35 -0800
commitc73c1dad0a1d80a014ef59087aeee9f0e6171cf2 (patch)
tree3c8bfc0b1882d6df35fede06b3b629dee1b104bc /crawl-ref/source/dat/hells.des
parent1c4f4dd987fdfe1462aef78550f46ac1f46adf26 (diff)
downloadcrawl-ref-c73c1dad0a1d80a014ef59087aeee9f0e6171cf2.tar.gz
crawl-ref-c73c1dad0a1d80a014ef59087aeee9f0e6171cf2.zip
Slave/master handling in the Triggerable class
The Triggerable class can now handle master/slave marker logic. See dis_mu in hells.des for an example.
Diffstat (limited to 'crawl-ref/source/dat/hells.des')
-rw-r--r--crawl-ref/source/dat/hells.des9
1 files changed, 7 insertions, 2 deletions
diff --git a/crawl-ref/source/dat/hells.des b/crawl-ref/source/dat/hells.des
index 2506875d95..1ff9800efa 100644
--- a/crawl-ref/source/dat/hells.des
+++ b/crawl-ref/source/dat/hells.des
@@ -454,11 +454,16 @@ SUBST: 4 = 4:20 7
SUBST: 8 = 8o
COLOUR: o : cyan
: dis_setup(_G)
-MARKER: o = lua:monster_on_death { \
+# Use master/slave setup.
+MARKER: 1 = lua:monster_on_death { \
death_monster="Dispater", new_monster="generate_awake iron golem", \
message_seen="The iron statue comes to life!", \
message_unseen="You hear a grinding sound.", \
- veto_fragmentation="veto", veto_disintegrate="veto" \
+ master_name="dispater" \
+ }
+MARKER: o = lua:props_marker { \
+ veto_fragmentation="veto", veto_disintegrate="veto", \
+ slaved_to="dispater" \
}
MAP
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx