1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-16 15:30:30 +01:00

Update rat.lua

Rat now spawn also on sandstone nodes (because of the new mapgen)
This commit is contained in:
Ombridride 2015-07-13 16:28:29 +02:00
parent 75bfef9272
commit fb17d5e072

View File

@ -45,7 +45,7 @@ mobs:register_mob("mobs:rat", {
end, end,
}) })
-- spawn on stone between 1 and 20 light, 1 in 7000 chance, 1 per area up to 31000 in height -- 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"}, 20, 0, 10000, 1, 31000) mobs:register_spawn("mobs:rat", {"default:stone", "default:sandstone"}, 20, 0, 10000, 1, 31000)
-- register spawn egg -- register spawn egg
mobs:register_egg("mobs:rat", "Rat", "mobs_rat_inventory.png", 0) mobs:register_egg("mobs:rat", "Rat", "mobs_rat_inventory.png", 0)