1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2024-12-26 02:30:20 +01:00

fix typo, tweak deco

This commit is contained in:
tenplus1 2024-09-25 10:21:16 +01:00
parent 2b31a87a32
commit 6356dfcdb5
3 changed files with 6 additions and 10 deletions

View File

@ -82,15 +82,11 @@ farming.registered_plants["farming:artichoke"] = {
-- mapgen
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 = spawn_on,
place_on = {
"default:dirt_with_grass", "mcl_core:dirt_with_grass", "ethereal:grove_dirt"
},
sidelen = 16,
noise_params = {
offset = 0,

View File

@ -120,7 +120,7 @@ minetest.register_decoration({
octaves = 3,
persist = 0.6
},
y_min = 1, y_max = 6,
y_min = 1, y_max = 3,
decoration = "farming:melon_8",
spawn_by = {"group:water", "group_sand"}, num_spawn_by = 1
spawn_by = {"group:water", "group:sand"}, num_spawn_by = 1
})

View File

@ -123,7 +123,7 @@ minetest.register_decoration({
octaves = 3,
persist = 0.6
},
y_min = 1, y_max = 6,
y_min = 1, y_max = 3,
decoration = "farming:pumpkin_8",
spawn_by = {"group:water", "group:sand"}, num_spawn_by = 1
})