diff --git a/src/workbench.lua b/src/workbench.lua index ec40f1d..78183d0 100644 --- a/src/workbench.lua +++ b/src/workbench.lua @@ -508,3 +508,7 @@ end) workbench:register_special_cut("xdecor:cushion_block", { slab = "xdecor:cushion" }) workbench:register_special_cut("xdecor:cabinet", { slab = "xdecor:cabinet_half" }) +-- Public function to register a cut +xdecor.register_cut = function(nodename) + workbench:register_cut(nodename) +end