2 * This script is loaded into the console script interpreter.
3 * You should define shortcuts and helper functions that are useful for the
9 Level.flip_vertically();
27 function worldmapfinish()
30 foreach(world in state.worlds) {
31 foreach(levelname, level in world.levels) {
40 sector.Tux.add_bonus("grow");
45 sector.Tux.add_bonus("fireflower");
50 sector.Tux.add_bonus("iceflower");
55 sector.Tux.add_bonus("none");
60 sector.Tux.kill(true);
65 sector.Tux.add_coins(100);
69 * Display a list of functions in the roottable (or in the table specified)
71 function functions(...)
76 if(::type(obj) == "instance")
80 foreach(key, val in obj) {
81 if(::type(val) == "function")