1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-12-14 22:38:32 +01:00

update mobs

This commit is contained in:
2015-10-29 21:08:23 +01:00
parent f12839cbcc
commit ee2c2466ec
2 changed files with 43 additions and 32 deletions

View File

@@ -42,7 +42,7 @@ mobs:register_mob("mobs:rat", {
local pos = self.object:getpos()
print("rat pos", pos.x, pos.y, pos.z)
end,
]]
--]]
})
-- spawn on stone between 1 and 20 light, 1 in 7000 chance, 1 per area up to 31000 in height
mobs:spawn_specific("mobs:rat", {"default:stone", "default:sandstone"}, {"air"}, 0, 20, 30, 10000, 1, -31000, 31000, true)