Add a 3rd huge spruce tree variant

This commit is contained in:
Wuzzy 2017-08-31 22:36:02 +02:00
parent 7a47e0dd6d
commit c315973648
2 changed files with 1 additions and 1 deletions

@ -450,7 +450,7 @@ function mcl_core.generate_spruce_tree(pos)
end end
mcl_core.generate_huge_spruce_tree = function(pos) mcl_core.generate_huge_spruce_tree = function(pos)
local r = math.random(1, 2) local r = math.random(1, 3)
local path = minetest.get_modpath("mcl_core") .. "/schematics/mcl_core_spruce_huge_"..r..".mts" local path = minetest.get_modpath("mcl_core") .. "/schematics/mcl_core_spruce_huge_"..r..".mts"
minetest.place_schematic({ x = pos.x - 4, y = pos.y - 1, z = pos.z - 5 }, path, "0", nil, false) minetest.place_schematic({ x = pos.x - 4, y = pos.y - 1, z = pos.z - 5 }, path, "0", nil, false)
end end