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:
19
mapgen.lua
19
mapgen.lua
@ -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
|
||||
|
Reference in New Issue
Block a user