tweak
parent
f03a0256e0
commit
b97328c123
|
@ -97,6 +97,8 @@ function default.grow_acaciatree(data, a, pos, seed) --watershed_acaciatree(x, y
|
|||
local c_actree = minetest.get_content_id("default:acaciatree_gen") --trunk
|
||||
local c_actree2 = minetest.get_content_id("default:acaciatree_t") --limbs
|
||||
local c_acleaf = minetest.get_content_id("default:acacialeaves") --leaves
|
||||
local t1 = os.clock()
|
||||
for try = 0, 10000 do
|
||||
local xa = pos.x
|
||||
local ya = pos.y
|
||||
local za = pos.z
|
||||
|
@ -188,3 +190,7 @@ for j = -3, 9 do --j is the y axis level of the tree
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
print("time"..os.clock()-t1)
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue