Merge remote-tracking branch 'upstream/master'

This commit is contained in:
2021-06-20 17:27:50 +02:00
4 changed files with 74 additions and 51 deletions

View File

@ -362,13 +362,19 @@ for i in pairs(TRuNKS) do
snappy=1,
choppy=2,
oddly_breakable_by_hand=1,
flammable=2--,
flammable=2,
--not_in_creative_inventory=1 -- atm in inv for testing
},
--drop = "trunks:twig_1", -- not sure about this yet
sounds = default.node_sound_wood_defaults(),
})
default.register_leafdecay({
trunks = { MoD..":"..TRuNK },
leaves = { "trunks:"..TRuNK.."root" },
radius = 1,
})
else
minetest.log("error", string.format("[Trunks] warning: tree type '%s:%s' not found", MoD, TRuNK))
end