minetest-mods / 3d_armor

Visible player armor & wielded items for minetest
Other
17 stars 40 forks source link

Cleanup deprecated/legacy config support #123

Open dacmot opened 10 months ago

dacmot commented 10 months ago

This issue is to track the deprecation of the config support. See init.lua:

-- Legacy Config Support

and armor.conf.example

-- DEPRECATED, will not be supported in future versions

Lazerbeak12345 commented 10 months ago

will the lines like

if armor.materials.crystal then

in the various submodules also be resolved by this issue?

dacmot commented 10 months ago

I would assume so, since armor.conf.example is where the materials are defined, and them imported in init.lua.

I would add that these changes should make the 3d_armor API material agnostic.