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)
committerLMH <lmh.0013@gmail.com>
Sun, 29 Dec 2013 03:32:20 +0000 (17:32 -1000)
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