1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-06-30 07:11:13 +02:00

Added Pineapple and Pineapple Juice

This commit is contained in:
TenPlus1
2018-02-08 11:13:25 +00:00
parent 0843bd0696
commit 1e7214a6ab
17 changed files with 136 additions and 1 deletions

View File

@ -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