diff options
author | Carter Kolwey <cheapiephp@gmail.com> | 2016-08-23 00:20:46 -0500 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2016-08-23 11:08:53 +0200 |
commit | 912f17f33590df4ad76775a3511881ad4bbf4853 (patch) | |
tree | 2d246683d4843b7829b026577c228038ea648c3c /mesecons_wires/doc/mesecon | |
parent | 4816dee396203dba1df9328c5565c145c4f2751f (diff) | |
download | mesecons-912f17f33590df4ad76775a3511881ad4bbf4853.tar mesecons-912f17f33590df4ad76775a3511881ad4bbf4853.tar.gz mesecons-912f17f33590df4ad76775a3511881ad4bbf4853.tar.bz2 mesecons-912f17f33590df4ad76775a3511881ad4bbf4853.tar.xz mesecons-912f17f33590df4ad76775a3511881ad4bbf4853.zip |
Split wires into their own mod, introduce autoconnect hooks
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.
Diffstat (limited to 'mesecons_wires/doc/mesecon')
-rw-r--r-- | mesecons_wires/doc/mesecon/description.html | 1 | ||||
-rwxr-xr-x | mesecons_wires/doc/mesecon/preview.png | bin | 0 -> 29946 bytes | |||
-rw-r--r-- | mesecons_wires/doc/mesecon/recipe.png | bin | 0 -> 3932 bytes |
3 files changed, 1 insertions, 0 deletions
diff --git a/mesecons_wires/doc/mesecon/description.html b/mesecons_wires/doc/mesecon/description.html new file mode 100644 index 0000000..f217be9 --- /dev/null +++ b/mesecons_wires/doc/mesecon/description.html @@ -0,0 +1 @@ +Mesecons are the wires, use them to connect effectors with receptors. diff --git a/mesecons_wires/doc/mesecon/preview.png b/mesecons_wires/doc/mesecon/preview.png Binary files differnew file mode 100755 index 0000000..f81e5cb --- /dev/null +++ b/mesecons_wires/doc/mesecon/preview.png diff --git a/mesecons_wires/doc/mesecon/recipe.png b/mesecons_wires/doc/mesecon/recipe.png Binary files differnew file mode 100644 index 0000000..72f9210 --- /dev/null +++ b/mesecons_wires/doc/mesecon/recipe.png |