summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/System.c4g/Goblet.c
diff options
context:
space:
mode:
Diffstat (limited to 'TemplePushing.c4s/System.c4g/Goblet.c')
-rw-r--r--TemplePushing.c4s/System.c4g/Goblet.c11
1 files changed, 10 insertions, 1 deletions
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);
+}