diff --git a/crops/mint.lua b/crops/mint.lua index 58f0263..53546ba 100644 --- a/crops/mint.lua +++ b/crops/mint.lua @@ -102,9 +102,9 @@ minetest.register_decoration({ octaves = 3, persist = 0.6 }, - y_min = 1, + y_min = 0, y_max = 75, decoration = "farming:mint_4", - spawn_by = "group:water", + spawn_by = {"group:water", "group:sand"}, num_spawn_by = 1 }) diff --git a/crops/pineapple.lua b/crops/pineapple.lua index 33ccf37..e8a09b9 100644 --- a/crops/pineapple.lua +++ b/crops/pineapple.lua @@ -147,7 +147,7 @@ local mg = farming.mapgen == "v6" def = { grow_on = mg and {"default:dirt_with_grass"} or {"default: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 } @@ -163,7 +163,7 @@ minetest.register_decoration({ octaves = 3, persist = 0.6 }, - y_min = 18, + y_min = 11, y_max = 30, decoration = {"farming:pineapple_8"}, spawn_by = def.grow_near,