mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-08-20 13:04:10 +02:00
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.
3.8 KiB
481x268px
3.8 KiB
481x268px
![](/Mirrorlandia_minetest/mesecons/raw/commit/c2e3d7c4e58b2563e79aead60c6efedf27c786cf/mesecons_wires/doc/mesecon/recipe.png)