diff --git a/api/cables.lua b/api/cables.lua index 1057342..e031218 100644 --- a/api/cables.lua +++ b/api/cables.lua @@ -39,7 +39,7 @@ function logistica.register_cable(desc, name, customNodeBox, customTiles, custom paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, - drawtype = "nodebox", + drawtype = cnb.type or "nodebox", node_box = node_box, connects_to = { "group:" .. cable_group, logistica.GROUP_ALL, logistica.GROUP_CABLE_OFF }, on_construct = function(pos) logistica.on_cable_change(pos) end, diff --git a/registration/machines_api_reg.lua b/registration/machines_api_reg.lua index e0bd654..5f150e6 100644 --- a/registration/machines_api_reg.lua +++ b/registration/machines_api_reg.lua @@ -31,6 +31,7 @@ logistica.register_cable("Optic Cable", "optic_cable") -- full-block cable logistica.register_cable("Embedded Optic Cable", "optic_cable_block", { + type = "normal", fixed = { { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 } },