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

replace mobs spawn by news function spawn_specific

change invert min_light and max_light for slimes and lava
add chmod 755 textures mobs
This commit is contained in:
2015-07-16 19:02:10 +02:00
parent 25a5d20501
commit f2182809d9
30 changed files with 45 additions and 47 deletions

View File

@@ -45,7 +45,7 @@ mobs:register_mob("mobs:rat", {
]]
})
-- spawn on stone between 1 and 20 light, 1 in 7000 chance, 1 per area up to 31000 in height
mobs:register_spawn("mobs:rat", {"default:stone", "default:sandstone"}, 20, 0, 10000, 1, 31000)
mobs:spawn_specific("mobs:rat", {"default:stone", "default:sandstone"}, {"air"}, 0, 20, 30, 10000, 1, -31000, 31000)
-- register spawn egg
mobs:register_egg("mobs:rat", "Rat", "mobs_rat_inventory.png", 0)
@@ -61,4 +61,4 @@ minetest.register_craft({
output = "mobs:rat_cooked",
recipe = "mobs:rat",
cooktime = 5,
})
})