-
- Downloads
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).
Showing
- mesecons/actionqueue.lua 24 additions, 4 deletionsmesecons/actionqueue.lua
- mesecons/init.lua 10 additions, 4 deletionsmesecons/init.lua
- mesecons/internal.lua 25 additions, 33 deletionsmesecons/internal.lua
- mesecons/services.lua 3 additions, 3 deletionsmesecons/services.lua
- mesecons/util.lua 1 addition, 0 deletionsmesecons/util.lua
Loading
Please register or sign in to comment