Invisible unisolid tile by tjcarter (GPL2+/CC-by-sa)
[supertux.git] / data / scripts / console.nut
index 131ef43..cdb190e 100644 (file)
@@ -14,6 +14,15 @@ function finish()
        Level.finish(true);
 }
 
+function worldmapfinish()
+{
+       save_state();
+       foreach(levelname, level in state.worlds[state.world].levels) {
+               level.solved = true;
+       }
+       update_worldmap();
+}
+
 function grow()
 {
        sector.Tux.add_bonus("grow");
@@ -24,6 +33,11 @@ function fire()
        sector.Tux.add_bonus("fireflower");
 }
 
+function ice()
+{
+       sector.Tux.add_bonus("iceflower");
+}
+
 function shrink()
 {
        sector.Tux.add_bonus("none");