tweak mint and pineapple spawning

This commit is contained in:
tenplus1 2022-09-18 11:10:20 +01:00
parent ff8e0d73a4
commit a08b471415
2 changed files with 4 additions and 4 deletions

View File

@ -102,9 +102,9 @@ minetest.register_decoration({
octaves = 3, octaves = 3,
persist = 0.6 persist = 0.6
}, },
y_min = 1, y_min = 0,
y_max = 75, y_max = 75,
decoration = "farming:mint_4", decoration = "farming:mint_4",
spawn_by = "group:water", spawn_by = {"group:water", "group:sand"},
num_spawn_by = 1 num_spawn_by = 1
}) })

View File

@ -147,7 +147,7 @@ local mg = farming.mapgen == "v6"
def = { def = {
grow_on = mg and {"default:dirt_with_grass"} or {"default:dirt_with_dry_grass", grow_on = mg and {"default:dirt_with_grass"} or {"default:dirt_with_dry_grass",
"default:dry_dirt_with_dry_grass"}, "default:dry_dirt_with_dry_grass"},
grow_near = mg and "default:desert_sand" or nil, grow_near = mg and "group:sand" or nil,
num = mg and 1 or -1 num = mg and 1 or -1
} }
@ -163,7 +163,7 @@ minetest.register_decoration({
octaves = 3, octaves = 3,
persist = 0.6 persist = 0.6
}, },
y_min = 18, y_min = 11,
y_max = 30, y_max = 30,
decoration = {"farming:pineapple_8"}, decoration = {"farming:pineapple_8"},
spawn_by = def.grow_near, spawn_by = def.grow_near,