drawtype and param related defaults are being handled as well
for now we still leave the locked-node generation to locked.lua, due to its furnace-like node support
example:
homedecor.register("penbox", {
<common defs>
infotext=S("Penbox"),
inventory = {
size=8,
formspec=…
lockable=true -- will be supported later
},
})