diff options
author | R-one <r1-c@live.fr> | 2017-12-24 13:20:51 +0100 |
---|---|---|
committer | R-one <r1-c@live.fr> | 2017-12-24 13:20:51 +0100 |
commit | 18c07cf7ae3d7ccf4f5328fc85be3635a54605b5 (patch) | |
tree | f4275bc06bca534da19833c6f502747fe57eb446 | |
parent | 04474de70c333210e038368c4795363b8bb57282 (diff) |
fix grounding on sharks beach
-rw-r--r-- | mobs_sharks/init.lua | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/mobs_sharks/init.lua b/mobs_sharks/init.lua index 9e3ade0..0e73dca 100644 --- a/mobs_sharks/init.lua +++ b/mobs_sharks/init.lua @@ -54,6 +54,8 @@ if mobs.mod and mobs.mod == "redo" then makes_footstep_sound = false, walk_velocity = 4, run_velocity = 6, + jump = false, + stepheight = 0.1, fly = true, fly_in = "default:water_source", fall_speed = 0, @@ -63,7 +65,7 @@ if mobs.mod and mobs.mod == "redo" then lava_damage = 10, light_damage = 0, animation = l_anims, - do_custom = function(self) + --[[do_custom = function(self) if HELP_WITH_EXPERIMENT then local p = self.object:getpos() local a = self.object:getvelocity() @@ -78,7 +80,7 @@ if mobs.mod and mobs.mod == "redo" then end self.object:setvelocity(a) end - end + end]] }) --name, nodes, neighbours, minlight, maxlight, interval, chance, active_object_count, min_height, max_height mobs:spawn_specific("mobs_sharks:shark_lg", l_spawn_in, l_spawn_near, -1, 20, 30, l_spawn_chance, 1, -31000, 0) @@ -103,6 +105,8 @@ if mobs.mod and mobs.mod == "redo" then makes_footstep_sound = false, walk_velocity = 2, run_velocity = 4, + jump = false, + stepheight = 0.1, fly = true, fly_in = "default:water_source", fall_speed = -1, @@ -136,6 +140,8 @@ if mobs.mod and mobs.mod == "redo" then makes_footstep_sound = false, walk_velocity = 2, run_velocity = 4, + jump = false, + stepheight = 0.1, fly = true, fly_in = "default:water_source", fall_speed = -1, |