summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/System.c4g/Goblet.c
blob: a916e356bd61ff0c679729a48356c7af84ab6a60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#strict
#appendto GBLT

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());
 else
 SetYDir(-20);
 Sound("BOING");
 return(1);
}