diff options
Diffstat (limited to 'mapgen.lua')
-rw-r--r-- | mapgen.lua | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -117,3 +117,22 @@ minetest.register_decoration({ num_spawn_by = 1, }) end + +if farming.pineapple then +minetest.register_decoration({ + deco_type = "simple", + place_on = {"default:dirt_with_dry_grass"}, + sidelen = 16, + noise_params = { + offset = 0, + scale = farming.rarety, -- 0.06, + spread = {x = 100, y = 100, z = 100}, + seed = 917, + octaves = 3, + persist = 0.6 + }, + y_min = 18, + y_max = 30, + decoration = {"farming:pineapple_8"}, +}) +end |