Add a second huge jungle tree schematic, tweak the 1st one
This commit is contained in:
parent
4d63d5b36d
commit
427eb32448
5 changed files with 33 additions and 25 deletions
|
@ -629,8 +629,10 @@ end
|
|||
-- Generate huge jungle tree with 2×2 trunk.
|
||||
-- With pos being the lower X and the higher Z value of the trunk.
|
||||
function mcl_core.generate_huge_jungle_tree(pos)
|
||||
-- 2 variants
|
||||
local r = math.random(1, 2)
|
||||
local path = minetest.get_modpath("mcl_core") ..
|
||||
"/schematics/mcl_core_jungle_tree_huge.mts"
|
||||
"/schematics/mcl_core_jungle_tree_huge_"..r..".mts"
|
||||
minetest.place_schematic({x = pos.x - 6, y = pos.y - 1, z = pos.z - 7}, path, "random", nil, false)
|
||||
end
|
||||
|
||||
|
|
Binary file not shown.
BIN
mods/ITEMS/mcl_core/schematics/mcl_core_jungle_tree_huge_1.mts
Normal file
BIN
mods/ITEMS/mcl_core/schematics/mcl_core_jungle_tree_huge_1.mts
Normal file
Binary file not shown.
BIN
mods/ITEMS/mcl_core/schematics/mcl_core_jungle_tree_huge_2.mts
Normal file
BIN
mods/ITEMS/mcl_core/schematics/mcl_core_jungle_tree_huge_2.mts
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue