mirror of
https://codeberg.org/tenplus1/mobs_animal.git
synced 2024-12-22 17:00:26 +01:00
checkens also spawn on ethereal's prairie dirt
This commit is contained in:
parent
18e5094afe
commit
914c37a0ae
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user