diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-10-16 04:07:12 -0700 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-10-16 04:07:12 -0700 |
commit | c659d9e7a0911c6590d39d8a991e9b4cb3fdc4e2 (patch) | |
tree | 5abfffdb7cb8ec7feceea4a4843715b3465d91d0 /crawl-ref/source/dat/hells.des | |
parent | fca02d5a9d188648a0f97dc5b717c21a8adfb092 (diff) | |
download | crawl-ref-c659d9e7a0911c6590d39d8a991e9b4cb3fdc4e2.tar.gz crawl-ref-c659d9e7a0911c6590d39d8a991e9b4cb3fdc4e2.zip |
Lua marker to create monsters on triggering
New lua marker MonsterOnTrigger, which creates a monster when the
triggering condition is met (which currently only includes a monster
dying).
Use it in the dis_mu Dis:7 vault to turn all of the iron statues into
iron golems when Dispater dies.
Diffstat (limited to 'crawl-ref/source/dat/hells.des')
-rw-r--r-- | crawl-ref/source/dat/hells.des | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/dat/hells.des b/crawl-ref/source/dat/hells.des index dfad033c62..b2307a2387 100644 --- a/crawl-ref/source/dat/hells.des +++ b/crawl-ref/source/dat/hells.des @@ -454,6 +454,12 @@ SUBST: 4 = 4:20 7 SUBST: 8 = 8o COLOUR: o : cyan : dis_setup(_G) +MARKER: o = lua:monster_on_trigger { \ + 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" \ + } MAP xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvxxxxxx @@ -1045,4 +1051,4 @@ xxxx.................................{xxxxBBBBxBBBBx.2..4..4...$$$$$xx xxxx................................[xxxxxBBBBxBBBBx..........$$$$$$xx xxxx...............................(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -ENDMAP
\ No newline at end of file +ENDMAP |