projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38b7517
)
some new debug commands for console
author
Matthias Braun
<matze@braunis.de>
Tue, 25 Apr 2006 19:11:36 +0000
(19:11 +0000)
committer
Matthias Braun
<matze@braunis.de>
Tue, 25 Apr 2006 19:11:36 +0000
(19:11 +0000)
SVN-Revision: 3432
data/scripts/console.nut
patch
|
blob
|
history
diff --git
a/data/scripts/console.nut
b/data/scripts/console.nut
index
ff411c0
..
e01540d
100644
(file)
--- 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)
*/