summaryrefslogtreecommitdiff
path: root/mesecons_wires/init.lua
AgeCommit message (Collapse)Author
2017-09-19Prevent wires from being rotated (#365)DS
2017-01-15Fix most of the namespace pollutions reported in #311sfan5
2016-08-23Split wires into their own mod, introduce autoconnect hooksCarter Kolwey
The update_autoconnect function had to be abstracted away from the default wires, any kind of wire can now register autoconnect hooks, which should make having multiple different wire types much easier. mesecons_mvps, mesecons_receiver and mesecons_random made use of update_autoconnect, their code was also adapted. This also fixes a receiver bug: If a receiver was placed with a onstate receptor next to it (but not the wall lever / button that caused the receiver to appear) the receiver didn't turn on in the past. Also move documentation for mesecon wire into mesecons_wire.