mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-06-28 22:36:45 +02:00
crop deco with ethereal added.
This commit is contained in:
@ -107,18 +107,11 @@ farming.registered_plants["farming:carrot"] = {
|
||||
|
||||
-- mapgen
|
||||
|
||||
local mg = farming.mapgen == "v6"
|
||||
|
||||
def = {
|
||||
y_max = mg and 30 or 20,
|
||||
near = mg and "group:water" or nil,
|
||||
num = mg and 1 or -1,
|
||||
}
|
||||
|
||||
if not farming.eth then
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_grass", "mcl_core:dirt_with_grass"},
|
||||
place_on = {
|
||||
"default:dirt_with_grass", "mcl_core:dirt_with_grass", "ethereal:prairie_dirt"
|
||||
},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0,
|
||||
@ -128,10 +121,6 @@ minetest.register_decoration({
|
||||
octaves = 3,
|
||||
persist = 0.6
|
||||
},
|
||||
y_min = 1,
|
||||
y_max = def.y_max,
|
||||
decoration = "farming:carrot_8",
|
||||
spawn_by = def.near,
|
||||
num_spawn_by = def.num
|
||||
y_min = 1, y_max = 30,
|
||||
decoration = "farming:carrot_7"
|
||||
})
|
||||
end
|
||||
|
Reference in New Issue
Block a user