diff options
Diffstat (limited to 'res/scripts/underwater.lua')
-rw-r--r-- | res/scripts/underwater.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/res/scripts/underwater.lua b/res/scripts/underwater.lua index 8e1ae1a..0b62ff5 100644 --- a/res/scripts/underwater.lua +++ b/res/scripts/underwater.lua | |||
@@ -1,5 +1,11 @@ | |||
1 | underwater = {} | 1 | underwater = {} |
2 | 2 | ||
3 | function underwater.make_lucas_underwater() | ||
4 | PreventCrouching() | ||
5 | StartBobbing("lucas") | ||
6 | SetAnimationSlowdown("lucas", 2) | ||
7 | end | ||
8 | |||
3 | function underwater.leave() | 9 | function underwater.leave() |
4 | AllowCrouching() | 10 | AllowCrouching() |
5 | StopBobbing("lucas") | 11 | StopBobbing("lucas") |