mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-06-29 14:50:52 +02:00
crop deco with ethereal added.
This commit is contained in:
@ -82,10 +82,15 @@ farming.registered_plants["farming:artichoke"] = {
|
||||
|
||||
-- mapgen
|
||||
|
||||
if not farming.eth then
|
||||
local spawn_on = {"default:dirt_with_grass", "mcl_core:dirt_with_grass"}
|
||||
|
||||
if farming.eth then
|
||||
spawn_on = {"ethereal:grove_dirt"}
|
||||
end
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_grass", "mcl_core:dirt_with_grass"},
|
||||
place_on = spawn_on,
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0,
|
||||
@ -95,10 +100,7 @@ minetest.register_decoration({
|
||||
octaves = 3,
|
||||
persist = 0.6
|
||||
},
|
||||
y_min = 1,
|
||||
y_max = 13,
|
||||
y_min = 1, y_max = 13,
|
||||
decoration = "farming:artichoke_5",
|
||||
spawn_by = "group:tree",
|
||||
num_spawn_by = 1
|
||||
spawn_by = "group:tree", num_spawn_by = 1
|
||||
})
|
||||
end
|
||||
|
Reference in New Issue
Block a user