Implement industrialtest.api.createNetworkMap

This commit is contained in:
2023-11-12 14:59:18 +01:00
parent 71480f6a62
commit 7a6dacb614
2 changed files with 124 additions and 68 deletions

View File

@@ -142,6 +142,7 @@ local function registerCable(name,displayName,size,flow,registerInsulated)
definition.sound=mcl_sounds.node_sound_metal_defaults()
end
definition.groups._industrialtest_hasPowerInput=1
definition.groups._industrialtest_cable=1
minetest.register_node("industrialtest:"..name.."_cable",definition)
if registerInsulated then
definition=table.copy(definition)