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:
@ -110,18 +110,13 @@ farming.registered_plants["farming:soy_pod"] = {
|
||||
|
||||
-- mapgen
|
||||
|
||||
local mg = farming.mapgen == "v6"
|
||||
|
||||
def = {
|
||||
spawn_on = mg and {"default:dirt_with_grass"} or {"default:dirt_with_dry_grass",
|
||||
"default:dirt_with_rainforest_litter", "default:dry_dirt_with_dry_grass",
|
||||
"mcl_core:dirt_with_grass"}
|
||||
}
|
||||
|
||||
if not farming.eth then
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = def.spawn_on,
|
||||
place_on = {
|
||||
"default:dirt_with_grass", "default:dirt_with_dry_grass",
|
||||
"default:dirt_with_rainforest_litter", "default:dry_dirt_with_dry_grass",
|
||||
"mcl_core:dirt_with_grass", "ethereal:prairie_dirt"
|
||||
},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0,
|
||||
@ -131,8 +126,6 @@ minetest.register_decoration({
|
||||
octaves = 3,
|
||||
persist = 0.6
|
||||
},
|
||||
y_min = 20,
|
||||
y_max = 50,
|
||||
decoration = "farming:soy_6"
|
||||
y_min = 20, y_max = 50,
|
||||
decoration = "farming:soy_5"
|
||||
})
|
||||
end
|
||||
|
Reference in New Issue
Block a user