There have been reports from players unable to find some crops in the wild. Spinach, Eggplant, Ginger, Asparagus.
It might be due to the registration definitions, maybe the offset, or param2 without having a paramtype2 defined by the node, or name. I couldn't say for sure.
After changing or removing these definitions, mapgen was spawning these crops again.
-- spinach.lua
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass", "mcl_core:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = 0, -- offset = -0.1,
scale = farming.spinach,
spread = {x = 100, y = 100, z = 100},
seed = 910,
octaves = 3,
persist = 0.6
},
y_min = 1, y_max = 100,
decoration = "farming:spinach_4",
-- param2 = 3
})
-- eggplant.lua
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass", "mcl_core:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = 0, -- offset = -0.1,
scale = farming.eggplant,
spread = {x = 100, y = 100, z = 100},
seed = 356,
octaves = 3,
persist = 0.6
},
y_min = 1, y_max = 40,
decoration = "farming:eggplant_3",
-- param2 = 3
})
-- asparagus
minetest.register_decoration({
-- name = "farming:asparagus_5",
deco_type = "simple",
place_on = {"default:dirt_with_grass", "mcl_core:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = 0, -- offset = -0.1,
scale = farming.asparagus,
spread = {x = 100, y = 100, z = 100},
seed = 234,
octaves = 3,
persist = 0.6
},
y_min = 8, y_max = 32,
decoration = "farming:asparagus_5",
-- param2 = 3
})
-- ginger.lua
minetest.register_decoration({
-- name = "farming:ginger_4",
deco_type = "simple",
place_on = {
"default:dirt_with_rainforest_litter", "mcl_core:dirt_with_grass",
"ethereal:prairie_dirt"
},
sidelen = 16,
noise_params = {
offset = 0,
scale = farming.ginger,
spread = {x = 100, y = 100, z = 100},
seed = 999,
octaves = 3,
persist = 0.6
},
y_min = 1, y_max = 80,
decoration = "farming:ginger_3",
-- param2 = 3
})
There have been reports from players unable to find some crops in the wild. Spinach, Eggplant, Ginger, Asparagus.
It might be due to the registration definitions, maybe the offset, or param2 without having a paramtype2 defined by the node, or name. I couldn't say for sure.
After changing or removing these definitions, mapgen was spawning these crops again.
```lua
-- spinach.lua
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass", "mcl_core:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = 0, -- offset = -0.1,
scale = farming.spinach,
spread = {x = 100, y = 100, z = 100},
seed = 910,
octaves = 3,
persist = 0.6
},
y_min = 1, y_max = 100,
decoration = "farming:spinach_4",
-- param2 = 3
})
-- eggplant.lua
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass", "mcl_core:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = 0, -- offset = -0.1,
scale = farming.eggplant,
spread = {x = 100, y = 100, z = 100},
seed = 356,
octaves = 3,
persist = 0.6
},
y_min = 1, y_max = 40,
decoration = "farming:eggplant_3",
-- param2 = 3
})
-- asparagus
minetest.register_decoration({
-- name = "farming:asparagus_5",
deco_type = "simple",
place_on = {"default:dirt_with_grass", "mcl_core:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = 0, -- offset = -0.1,
scale = farming.asparagus,
spread = {x = 100, y = 100, z = 100},
seed = 234,
octaves = 3,
persist = 0.6
},
y_min = 8, y_max = 32,
decoration = "farming:asparagus_5",
-- param2 = 3
})
-- ginger.lua
minetest.register_decoration({
-- name = "farming:ginger_4",
deco_type = "simple",
place_on = {
"default:dirt_with_rainforest_litter", "mcl_core:dirt_with_grass",
"ethereal:prairie_dirt"
},
sidelen = 16,
noise_params = {
offset = 0,
scale = farming.ginger,
spread = {x = 100, y = 100, z = 100},
seed = 999,
octaves = 3,
persist = 0.6
},
y_min = 1, y_max = 80,
decoration = "farming:ginger_3",
-- param2 = 3
})
```