Added a dead_script to ghosttree so that issue #34 could be closed
authorLMH <lmh.0013@gmail.com>
Sun, 29 Dec 2013 03:32:20 +0000 (17:32 -1000)
committerTobias Markus <tobiasmarkus1@tobiass-mbp.fritz.box>
Fri, 24 Jan 2014 21:56:59 +0000 (22:56 +0100)
data/levels/test/treeboss.stl
src/badguy/ghosttree.cpp

index 178daa0..739ad5b 100644 (file)
       )
     )
     (ghosttree
+      (dead-script "sector.Tux.trigger_sequence(\"fireworks\");")
       (x 730)
       (y 550)
     )
index 89ff2df..89ce7e9 100644 (file)
@@ -75,6 +75,7 @@ GhostTree::die()
     TreeWillOWisp *willo = *iter;
     willo->vanish();
   }
+  run_dead_script();
 }
 
 void