From 40fb3e5d61c44886b06d839a35adb0c11a5f918f Mon Sep 17 00:00:00 2001 From: Jan <> Date: Mon, 2 Feb 2015 17:53:07 +0100 Subject: CliffPushR2.c4s --- TemplePushing.c4s/System.c4g/Goblet.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'TemplePushing.c4s/System.c4g/Goblet.c') diff --git a/TemplePushing.c4s/System.c4g/Goblet.c b/TemplePushing.c4s/System.c4g/Goblet.c index eb4911f..a916e35 100644 --- a/TemplePushing.c4s/System.c4g/Goblet.c +++ b/TemplePushing.c4s/System.c4g/Goblet.c @@ -1,5 +1,5 @@ #strict -#appendto OGBT +#appendto GBLT func Activate(pClonk) { @@ -10,3 +10,12 @@ func Activate(pClonk) SetYDir(-10); return(1); } + +func Hit() +{ + if (Random(2)) return(_inherited()); + else + SetYDir(-20); + Sound("BOING"); + return(1); +} -- cgit v1.2.3-54-g00ecf