1
0
mirror of https://codeberg.org/tenplus1/mobs_animal.git synced 2024-12-22 17:00:26 +01:00

kittens spawn on both green grass and ethereal's grove dirt

This commit is contained in:
TenPlus1 2017-02-25 13:57:07 +00:00
parent f70cab6894
commit 0f2f607803

View File

@ -55,15 +55,9 @@ mobs:register_mob("mobs_animal:kitten", {
}) })
local spawn_on = "default:dirt_with_grass"
if minetest.get_modpath("ethereal") then
spawn_on = "ethereal:grove_dirt"
end
mobs:spawn({ mobs:spawn({
name = "mobs_animal:kitten", name = "mobs_animal:kitten",
nodes = {spawn_on}, nodes = {"default:dirt_with_grass", "ethereal:grove_dirt"},
min_light = 12, min_light = 12,
chance = 22000, chance = 22000,
min_height = 0, min_height = 0,