1
0
mirror of https://codeberg.org/tenplus1/mobs_animal.git synced 2024-12-23 01:10:25 +01:00

checkens also spawn on ethereal's prairie dirt

This commit is contained in:
TenPlus1 2020-04-07 08:49:08 +01:00
parent 18e5094afe
commit 914c37a0ae

View File

@ -91,15 +91,15 @@ stepheight = 0.6,
}) })
local spawn_on = "default:dirt_with_grass" local spawn_on = {"default:dirt_with_grass"}
if minetest.get_modpath("ethereal") then if minetest.get_modpath("ethereal") then
spawn_on = "ethereal:bamboo_dirt" spawn_on = {"ethereal:bamboo_dirt", "ethereal:prairie_dirt"}
end end
mobs:spawn({ mobs:spawn({
name = "mobs_animal:chicken", name = "mobs_animal:chicken",
nodes = {spawn_on}, nodes = spawn_on,
neighbors = {"group:grass"}, neighbors = {"group:grass"},
min_light = 14, min_light = 14,
interval = 60, interval = 60,