diff options
| author | Jan <> | 2015-02-02 17:05:03 +0100 |
|---|---|---|
| committer | Jan <_> | 2015-07-10 17:44:33 +0200 |
| commit | f5a80c493dcefbc8f45987b8fd454d974f739cf7 (patch) | |
| tree | 724195326f990379940b35e0f5eaacb37e4860bc /TemplePushing.c4s/System.c4g/Axe.c | |
| download | tempelschubsen-f5a80c493dcefbc8f45987b8fd454d974f739cf7.tar.gz tempelschubsen-f5a80c493dcefbc8f45987b8fd454d974f739cf7.zip | |
TemplePushBeta.c4s
Diffstat (limited to 'TemplePushing.c4s/System.c4g/Axe.c')
| -rw-r--r-- | TemplePushing.c4s/System.c4g/Axe.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/TemplePushing.c4s/System.c4g/Axe.c b/TemplePushing.c4s/System.c4g/Axe.c new file mode 100644 index 0000000..1de4d9a --- /dev/null +++ b/TemplePushing.c4s/System.c4g/Axe.c @@ -0,0 +1,20 @@ +#strict +#appendto AXE1 + +func Activate(pClonk) +{ + [$Shot$|Image=GNPW] + Sound("Blast2"); + Exit(this(),-10+20*GetDir(pClonk)); + SetXDir(-80+160*GetDir(pClonk)); + SetYDir(-10); + return(1); +} + +func Hit() +{ + if (Random(2)) return(_inherited()); + SetYDir(-20); + Sound("BOING"); + return(1); +} |
