forked from mtcontrib/minetest-mod-snow
Add treecapitator support
This commit is contained in:
parent
c72f56068f
commit
44ae0ab35d
|
@ -2,3 +2,4 @@ default
|
|||
flowers?
|
||||
moreblocks?
|
||||
skins?
|
||||
treecapitator?
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user