Fix for all of bug #77
[supertux.git] / data / scripts / console.nut
index 9170e45..5da3775 100644 (file)
@@ -14,10 +14,34 @@ function finish()
        Level.finish(true);
 }
 
-function println(val)
+function grow()
 {
-       print(val);
-       print("\n");
+       sector.Tux.add_bonus("grow");
+}
+
+function fire()
+{
+       sector.Tux.add_bonus("fireflower");
+}
+
+function ice()
+{
+       sector.Tux.add_bonus("iceflower");
+}
+
+function shrink()
+{
+       sector.Tux.add_bonus("none");
+}
+
+function kill()
+{
+       sector.Tux.kill(true);
+}
+
+function lifeup()
+{
+       sector.Tux.add_coins(100);
 }
 
 /**
@@ -40,4 +64,3 @@ function functions(...)
        }
 }
 
-