if minetest.get_modpath("livingfloatlands") then winuserleafdecay.register_winleafdecay({ trunks = {"livingfloatlands:giantforest_paleoredwood_trunk"}, leaves = {"livingfloatlands:giantforest_paleoredwood_leaves", "livingfloatlands:giantforest_tinderfungus"}, radius = 6 }) winuserleafdecay.register_winleafdecay({ trunks = {"livingfloatlands:coldsteppe_pine_trunk"}, leaves = {"livingfloatlands:coldsteppe_pine_leaves", "livingfloatlands:coldsteppe_pine_pinecone"}, radius = 5 }) winuserleafdecay.register_winleafdecay({ trunks = {"livingfloatlands:coldsteppe_pine2_trunk"}, leaves = {"livingfloatlands:coldsteppe_pine2_leaves", "livingfloatlands:coldsteppe_pine2_pinecone"}, radius = 6 }) winuserleafdecay.register_winleafdecay({ trunks = {"livingfloatlands:coldsteppe_pine3_trunk"}, leaves = {"livingfloatlands:coldsteppe_pine3_leaves", "livingfloatlands:coldsteppe_pine3_pinecone"}, radius = 5 }) winuserleafdecay.register_winleafdecay({ trunks = {"livingfloatlands:giantforest_paleooak_trunk"}, leaves = {"livingfloatlands:giantforest_paleooak_leaves", "livingfloatlands:giantforest_oaknut"}, radius = 6 }) winuserleafdecay.register_winleafdecay({ trunks = {"livingfloatlands:paleodesert_joshua_trunk"}, leaves = {"livingfloatlands:paleodesert_joshua_leaves"}, radius = 3 }) winuserleafdecay.register_winleafdecay({ trunks = {"livingfloatlands:paleodesert_paleopine_trunk"}, leaves = {"livingfloatlands:paleodesert_paleopine_leaves"}, radius = 6 }) winuserleafdecay.register_winleafdecay({ trunks = {"livingfloatlands:paleojungle_clubmoss_trunk"}, leaves = {"livingfloatlands:paleojungle_clubmoss_leaves", "livingfloatlands:paleojungle_clubmoss_fruit"}, radius = 6 }) winuserleafdecay.register_winleafdecay({ trunks = {"livingfloatlands:paleojungle_conifere_trunk"}, leaves = {"livingfloatlands:paleojungle_conifere_leaves"}, radius = 8 }) winuserleafdecay.register_winleafdecay({ trunks = {"livingfloatlands:paleojungle_paleopalm_trunk"}, leaves = {"livingfloatlands:paleojungle_paleopalm_leaves"}, radius = 3 }) end if minetest.get_modpath("naturalbiomes") then winuserleafdecay.register_winleafdecay({ trunks = {"naturalbiomes:alder_trunk"}, leaves = {"naturalbiomes:alder_leaves"}, radius = 6 }) winuserleafdecay.register_winleafdecay({ trunks = {"naturalbiomes:alppine1_trunk"}, leaves = {"naturalbiomes:alppine1_leaves"}, radius = 5 }) winuserleafdecay.register_winleafdecay({ trunks = {"naturalbiomes:alppine2_trunk"}, leaves = {"naturalbiomes:alppine2_leaves"}, radius = 3 }) winuserleafdecay.register_winleafdecay({ trunks = {"naturalbiomes:bamboo_trunk", "naturalbiomes:smallbamboo"}, leaves = {"naturalbiomes:bamboo_leaves"}, radius = 4 }) winuserleafdecay.register_winleafdecay({ trunks = {"naturalbiomes:banana_trunk"}, leaves = {"naturalbiomes:banana_leaves", "naturalbiomes:banana", "naturalbiomes:banana_bunch"}, radius = 4 }) winuserleafdecay.register_winleafdecay({ trunks = {"naturalbiomes:olive_trunk"}, leaves = {"naturalbiomes:olive_leaves", "naturalbiomes:olives"}, radius = 6 }) winuserleafdecay.register_winleafdecay({ trunks = {"naturalbiomes:pine_trunk"}, leaves = {"naturalbiomes:pine_leaves"}, radius = 8 }) winuserleafdecay.register_winleafdecay({ trunks = {"naturalbiomes:med_bush_stem"}, leaves = {"naturalbiomes:med_bush_leaves"}, radius = 6 }) winuserleafdecay.register_winleafdecay({ trunks = {"naturalbiomes:outback_trunk"}, leaves = {"naturalbiomes:outback_leaves"}, radius = 6 }) winuserleafdecay.register_winleafdecay({ trunks = {"naturalbiomes:outback_bush_stem"}, leaves = {"naturalbiomes:outback_bush_leaves"}, radius = 6 }) winuserleafdecay.register_winleafdecay({ trunks = {"naturalbiomes:palm_trunk"}, leaves = {"naturalbiomes:palm_leaves", "naturalbiomes:coconut"}, radius = 6 }) winuserleafdecay.register_winleafdecay({ trunks = {"naturalbiomes:beach_bush_stem"}, leaves = {"naturalbiomes:beach_bush_leaves"}, radius = 4 }) winuserleafdecay.register_winleafdecay({ trunks = {"naturalbiomes:acacia_trunk"}, leaves = {"naturalbiomes:acacia_leaves"}, radius = 7 }) winuserleafdecay.register_winleafdecay({ trunks = {"naturalbiomes:heath_willow_trunk"}, leaves = {"naturalbiomes:heath_willow_leaves2"}, radius = 6 }) winuserleafdecay.register_winleafdecay({ trunks = {"naturalbiomes:heath_juniper_trunk"}, leaves = {"naturalbiomes:heath_juniper_leaves"}, radius = 6 }) winuserleafdecay.register_winleafdecay({ trunks = {"naturalbiomes:heath_birch_trunk"}, leaves = {"naturalbiomes:heath_birch_leaves"}, radius = 6 }) winuserleafdecay.register_winleafdecay({ trunks = {"naturalbiomes:bushland_hazelnut_stem"}, leaves = {"naturalbiomes:bushland_hazelnut_leaves", "naturalbiomes:bushland_hazelnut_leaves2"}, radius = 4 }) winuserleafdecay.register_winleafdecay({ trunks = {"naturalbiomes:bushland_wildrose_stem"}, leaves = {"naturalbiomes:bushland_wildrose_leaves2", "naturalbiomes:bushland_wildrose_leaves"}, radius = 4 }) winuserleafdecay.register_winleafdecay({ trunks = {"naturalbiomes:bushland_blackberry_stem"}, leaves = {"naturalbiomes:bushland_blackberry_leaves2", "naturalbiomes:bushland_blackberry_leaves"}, radius = 4 }) end if minetest.get_modpath("livingjungle") then winuserleafdecay.register_winleafdecay({ trunks = {"livingjungle:samauma_trunk"}, leaves = {"livingjungle:samauma_leaves", "livingjungle:lianaleaves", "livingjungle:lianabranch", "livingjungle:lianabranch3"}, radius = 9 }) winuserleafdecay.register_winleafdecay({ trunks = {"livingjungle:liana_stem"}, leaves = {"livingjungle:lianaleaves", "livingjungle:lianabranch", "livingjungle:lianabranch3"}, radius = 6 }) winuserleafdecay.register_winleafdecay({ trunks = {"livingjungle:mangrove_root2", "livingjungle:mangrove_stem"}, leaves = {"livingjungle:mangrove_leaves"}, radius = 5 }) end if minetest.get_modpath("livingdesert") then winuserleafdecay.register_winleafdecay({ trunks = {"livingdesert:date_palm_trunk"}, leaves = {"livingdesert:date_palm_leaves", "livingdesert:date_palm_fruits"}, radius = 3 }) winuserleafdecay.register_winleafdecay({ trunks = {"livingdesert:euphorbia_trunk"}, leaves = {"livingdesert:euphorbia_leaves"}, radius = 3 }) winuserleafdecay.register_winleafdecay({ trunks = {"livingdesert:figcactus_trunk"}, leaves = {"livingdesert:figcactus_flower", "livingdesert:figcactus_fruit"}, radius = 3 }) winuserleafdecay.register_winleafdecay({ trunks = {"livingdesert:saxaul_trunk"}, leaves = {"livingdesert:saxaul_leaves"}, radius = 3 }) winuserleafdecay.register_winleafdecay({ trunks = {"livingdesert:pine_trunk"}, leaves = {"livingdesert:pine_leaves", "livingdesert:pine_leaves2", "livingdesert:pine_leaves3"}, radius = 3 }) end