summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/System.c4g/Goblet.c
diff options
context:
space:
mode:
authorJan <>2015-02-02 17:53:07 +0100
committerJan <_>2015-07-10 17:48:38 +0200
commit40fb3e5d61c44886b06d839a35adb0c11a5f918f (patch)
treef33632c8b41f1c3e955a83cd156266a73a4ae9c3 /TemplePushing.c4s/System.c4g/Goblet.c
parentf5a80c493dcefbc8f45987b8fd454d974f739cf7 (diff)
downloadtempelschubsen-40fb3e5d61c44886b06d839a35adb0c11a5f918f.tar.gz
tempelschubsen-40fb3e5d61c44886b06d839a35adb0c11a5f918f.zip
CliffPushR2.c4s
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);
+}