some new debug commands for console
authorMatthias Braun <matze@braunis.de>
Tue, 25 Apr 2006 19:11:36 +0000 (19:11 +0000)
committerMatthias Braun <matze@braunis.de>
Tue, 25 Apr 2006 19:11:36 +0000 (19:11 +0000)
SVN-Revision: 3432

data/scripts/console.nut

index ff411c0..e01540d 100644 (file)
@@ -14,6 +14,26 @@ function finish()
        Level.finish(true);
 }
 
+function grow()
+{
+       sector.Tux.add_bonus("grow");
+}
+
+function fire()
+{
+       sector.Tux.add_bonus("fireflower");
+}
+
+function shrink()
+{
+       sector.Tux.add_bonus("none");
+}
+
+function kill()
+{
+       sector.Tux.kill(true);
+}
+
 /**
  * Display a list of functions in the roottable (or in the table specified)
  */