mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-04 23:31:05 +01:00
Add a 3rd huge spruce tree variant
This commit is contained in:
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
|
||||||
|
|
BIN
mods/ITEMS/mcl_core/schematics/mcl_core_spruce_huge_3.mts
Normal file
BIN
mods/ITEMS/mcl_core/schematics/mcl_core_spruce_huge_3.mts
Normal file
Binary file not shown.
Loading…
Reference in a new issue