diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-02-08 11:13:25 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-02-08 11:13:25 +0000 |
commit | 1e7214a6abc9a04bef78f028a76dc5d1d5bd7f28 (patch) | |
tree | 203f356f65bf8b7a90b5c11043b8c6c3cd065fce /mapgen.lua | |
parent | 0843bd0696213358607ac44e886c5e13ccbffebb (diff) |
Added Pineapple and Pineapple Juice
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 |