Using my https://content.minetest.net/packages/TPH/tph_doors/ , I've made a redo of all of Minetest Game's doors (not trapdoors just yet)
I might add extra stuff like sounds for trying to open a locked door x3 (done!)
(Hopefully) Simplifies the registration of doors, giving a feel of how my API works!!! :D Not a lot of effort needed to do so - and permits a LOT of customization