Merge remote-tracking branch 'github-rone/master'

This commit is contained in:
2021-03-02 22:52:22 +01:00
5 changed files with 47 additions and 6 deletions

View File

@ -54,6 +54,11 @@ if mobs.mod and mobs.mod == "redo" then
makes_footstep_sound = false,
walk_velocity = 4,
run_velocity = 6,
jump = false,
stepheight = 0.1,
drops = {
{name = "mobs:meat_raw", chance = 1, min = 1, max = 3},
},
fly = true,
fly_in = "default:water_source",
fall_speed = 0,
@ -63,7 +68,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 +83,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)
@ -104,6 +109,11 @@ if mobs.mod and mobs.mod == "redo" then
makes_footstep_sound = false,
walk_velocity = 2,
run_velocity = 4,
jump = false,
stepheight = 0.1,
drops = {
{name = "mobs:meat_raw", chance = 1, min = 1, max = 3},
},
fly = true,
fly_in = "default:water_source",
fall_speed = -1,
@ -138,6 +148,11 @@ if mobs.mod and mobs.mod == "redo" then
makes_footstep_sound = false,
walk_velocity = 2,
run_velocity = 4,
jump = false,
stepheight = 0.1,
drops = {
{name = "mobs:meat_raw", chance = 1, min = 1, max = 3},
},
fly = true,
fly_in = "default:water_source",
fall_speed = -1,