summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/CliffPushing.c4d/Extra.c4d/FireBomb.c
blob: 125bd4979fe0ed8a8d9d1a1d466db612d9491a54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#strict
#appendto FBMP

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);
}