senderman: spawn skeleton on_die

This commit is contained in:
Milan 2019-01-16 17:41:10 +01:00
parent 4d20a7c14e
commit 41f281a8e1

View File

@ -31,8 +31,11 @@ if mobs.mod and mobs.mod == "redo" then
stepheight = 1.1,
drops = {
{name = "loud_walking:basalt", chance = 1, min = 1, max = 1},
{name = "ethereal:bone", chance = 2, min = 2, max = 6}
}
{name = "ethereal:bone", chance = 2, min = 2, max = 6},
},
on_die = function(self, pos)
minetest.add_entity({x=pos.x, y=pos.y + 1, z=pos.z}, "dmobs:skeleton")
end
})
local l_spawn_elevation_min = minetest.setting_get("water_level")