2 * This script is loaded into the console script interpreter.
3 * You should define shortcuts and helper functions that are usefull for the
9 Level.flip_vertically();
17 function worldmapfinish()
20 foreach(levelname, level in state.worlds[state.world].levels) {
28 sector.Tux.add_bonus("grow");
33 sector.Tux.add_bonus("fireflower");
38 sector.Tux.add_bonus("iceflower");
43 sector.Tux.add_bonus("none");
48 sector.Tux.kill(true);
53 sector.Tux.add_coins(100);
57 * Display a list of functions in the roottable (or in the table specified)
59 function functions(...)
64 if(::type(obj) == "instance")
68 foreach(key, val in obj) {
69 if(::type(val) == "function")