Fix visible cable connection for irregular items
authorZefram <zefram@fysh.org>
Sun, 17 Aug 2014 12:40:15 +0000 (13:40 +0100)
committerZefram <zefram@fysh.org>
Sun, 17 Aug 2014 12:43:39 +0000 (13:43 +0100)
commitd0001a20c969a67bd12cb242c156026ead22bc65
tree1dd6fe9405b22335940263b453d08e42b0396c93
parent35b10adb401c90d3ca8b69a106e82e1fb43a9f52
Fix visible cable connection for irregular items

The switching station and supply converter only semantically connect to
cables in particular directions.  Make them visually connect only in
the matching directions.  This is done by special-casing in the cable
update logic.  If more irregular items arise in the future, or the
existing items start to need facedir logic, this should be generalised
into something like the connect_sides system for pneumatic tubes.
manual.md
technic/machines/register/cables.lua