aboutsummaryrefslogtreecommitdiffstats
path: root/Scripts/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/init.lua')
-rw-r--r--Scripts/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/Scripts/init.lua b/Scripts/init.lua
index 572f722..66fbcb1 100644
--- a/Scripts/init.lua
+++ b/Scripts/init.lua
@@ -111,6 +111,11 @@ npc = {
b = 1.0,
strength = 0.5
},
+ EventListeners = {
+ MousePressed = function(self, x, y, button)
+ self.Velocity.y = 3.0;
+ end
+ },
Idle = function(self)
if (self.visibleTick == 0) then
self.visibleTick = math.random(40, 60)