summaryrefslogtreecommitdiff
path: root/mesecons_lamp/init.lua
diff options
context:
space:
mode:
authorJeija <jeija@mesecons.net>2014-01-11 10:04:32 +0100
committerJeija <jeija@mesecons.net>2014-01-11 14:57:56 +0100
commitf1211f7dae58ff4298b6bf4fcaa572e7995ab5e2 (patch)
treec5e385d8e820ed89012915ff32c46841116e1788 /mesecons_lamp/init.lua
parent93fb489bdb8c13989c398b37be3135004f7b0bbc (diff)
downloadmesecons-f1211f7dae58ff4298b6bf4fcaa572e7995ab5e2.tar
mesecons-f1211f7dae58ff4298b6bf4fcaa572e7995ab5e2.tar.gz
mesecons-f1211f7dae58ff4298b6bf4fcaa572e7995ab5e2.tar.bz2
mesecons-f1211f7dae58ff4298b6bf4fcaa572e7995ab5e2.tar.xz
mesecons-f1211f7dae58ff4298b6bf4fcaa572e7995ab5e2.zip
Add ActionQueue priority system
This makes effectors nearer to the source of the action (the receptor) update first. This defines behaviour for this piston circuit: http://i.imgur.com/9Pp2Mzb.png And defines, that this memory circuit does not work from this direction: http://i.imgur.com/jJn0aFh.png But it will work when using the switch from the other side: http://i.imgur.com/nvw0oZB.png Only if two effectors have the same distance, there is nothing we can do about it, behaviour is not defined. "Distance" is determined by the stack size of recursions in turnon / turnoff. Priorities are between 0 (lowest) and 1 (highest).
Diffstat (limited to 'mesecons_lamp/init.lua')
0 files changed, 0 insertions, 0 deletions