mirror of
https://github.com/Splizard/minetest-mod-snow.git
synced 2024-12-28 23:40:17 +01:00
Add treecapitator support
This commit is contained in:
parent
c72f56068f
commit
44ae0ab35d
@ -2,3 +2,4 @@ default
|
|||||||
flowers?
|
flowers?
|
||||||
moreblocks?
|
moreblocks?
|
||||||
skins?
|
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
|
data[a:index(pos.x,pos.y+7,pos.z)] = c_snow
|
||||||
end
|
end
|
||||||
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