1
0
Fork 0

Center the trunk of the azalea tree schematic

The trunk of the azalea tree is off center in the schematic so placing it with
random rotation makes predicting where the trunk will end up impossible.

This enlarges the schematic to 7x6x7 blocks with the trunk in the center.
lush_caves
laireia 2023-11-30 10:51:02 +10:00 committed by the-real-herowl
parent d065d84259
commit b173ef8b40
2 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ function mcl_lush_caves.makeazalea(pos,def,pr)
end end
end end
end end
minetest.place_schematic(vector.offset(surface_pos,-2,0,-2),modpath.."/schematics/azalea1.mts","random",nil,nil,"place_center_x place_center_z") minetest.place_schematic(vector.offset(surface_pos,-3,0,-3),modpath.."/schematics/azalea1.mts","random",nil,nil,"place_center_x place_center_z")
minetest.log("action","[mcl_lush_caves] Azalea generated at "..minetest.pos_to_string(surface_pos)) minetest.log("action","[mcl_lush_caves] Azalea generated at "..minetest.pos_to_string(surface_pos))
return true return true
end end