star_wars/mods/ethereal/leaves.lua

53 lines
1010 B
Lua

local S = ethereal.intllib
-- leaf decay
default.register_leafdecay({
trunks = {"default:jogan_tree"},
leaves = {"default:jogan_fruit", "default:jogan_leaves"},
radius = 3
})
default.register_leafdecay({
trunks = {"default:pine_tree"},
leaves = {"default:pine_needles"},
radius = 3
})
default.register_leafdecay({
trunks = {"default:brylark_trunk"},
leaves = {"default:brylark_leaves"},
radius = 3
})
default.register_leafdecay({
trunks = {"default:uneti_trunk"},
leaves = {"default:uneti_leaves"},
radius = 3
})
default.register_leafdecay({
trunks = {"default:wroshyr_trunk"},
leaves = {"default:wroshyr_leaves"},
radius = 3
})
default.register_leafdecay({
trunks = {"default:palm_trunk"},
leaves = {"default:palm_leaves", "ethereal:coconut"},
radius = 3
})
default.register_leafdecay({
trunks = {"default:bamboo"},
leaves = {"default:bamboo_leaves"},
radius = 2
})
default.register_leafdecay({
trunks = {"default:bush_stem"},
leaves = {"default:bush_leaves"},
radius = 1
})