Add treecapitator support

This commit is contained in:
Hybrid Dog 2017-03-23 15:52:21 +01:00
parent c72f56068f
commit 44ae0ab35d
2 changed files with 13 additions and 0 deletions

View File

@ -2,3 +2,4 @@ default
flowers?
moreblocks?
skins?
treecapitator?

View File

@ -197,3 +197,15 @@ function snow.voxelmanip_pine(pos,a,data)
data[a:index(pos.x,pos.y+7,pos.z)] = c_snow
end
end
-- treecapitator support
if minetest.global_exists"treecapitator" then
treecapitator.register_tree{
trees = {"default:pine_tree"},
leaves = {"snow:needles"},
range = 1,
range_up = 2,
range_down = 3,
stem_height_min = 1,
}
end