Added secret path to world2. Type "worldmap.secret1.fade(1, 2)" in the console to...
[supertux.git] / data / scripts / console.nut
index 5da3775..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");