From: Matthias Braun Date: Tue, 25 Apr 2006 19:11:36 +0000 (+0000) Subject: some new debug commands for console X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=fe6c44dab9cd29f8b1cdd311504d7267b61d32bb;p=supertux.git some new debug commands for console SVN-Revision: 3432 --- diff --git a/data/scripts/console.nut b/data/scripts/console.nut index ff411c04c..e01540de7 100644 --- a/data/scripts/console.nut +++ b/data/scripts/console.nut @@ -14,6 +14,26 @@ function finish() Level.finish(true); } +function grow() +{ + sector.Tux.add_bonus("grow"); +} + +function fire() +{ + sector.Tux.add_bonus("fireflower"); +} + +function shrink() +{ + sector.Tux.add_bonus("none"); +} + +function kill() +{ + sector.Tux.kill(true); +} + /** * Display a list of functions in the roottable (or in the table specified) */