added farming redo's pineapple to mapgen

This commit is contained in:
TenPlus1 2018-02-08 11:11:28 +00:00
parent e2fef45214
commit 0d311c06a2
2 changed files with 21 additions and 0 deletions

View File

@ -84,6 +84,10 @@ local crops = {
{"farming:barley_", 7},
{"farming:hemp_", 8},
{"farming:chili_", 8},
{"farming:garlic_", 5},
{"farming:onion_", 5},
{"farming:pepper_", 5},
{"farming:pineapple_", 8},
}
-- check if sapling has enough height room to grow

View File

@ -600,6 +600,23 @@ minetest.register_decoration({
spawn_by = "group:tree",
num_spawn_by = 1,
})
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_dry_grass"},
sidelen = 16,
noise_params = {
offset = 0,
scale = 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
-- place waterlily in beach areas