summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2014-07-21 23:55:38 +0100
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2014-07-21 19:03:56 -0400
commitb832c0ad067bf48506c07cddd7ee98f476ffada8 (patch)
treee53d0b54428b0de6585329cd57197eec24ebfddc /init.lua
parent1c3fb6b1c58b5ba4c87aef648336ee3bf2138b8d (diff)
downloadpipeworks-b832c0ad067bf48506c07cddd7ee98f476ffada8.tar
pipeworks-b832c0ad067bf48506c07cddd7ee98f476ffada8.tar.gz
pipeworks-b832c0ad067bf48506c07cddd7ee98f476ffada8.tar.bz2
pipeworks-b832c0ad067bf48506c07cddd7ee98f476ffada8.tar.xz
pipeworks-b832c0ad067bf48506c07cddd7ee98f476ffada8.zip
Slot sequencing modes for filter-injectors
The filter-injectors used to always prefer to take items from the beginning of the source inventory. Because items also tend to get placed at the beginning of an inventory, this could lead to a chest+injector buffer only passing through a trickle of one type of item, where other item types are flowing in and getting later inventory slots. So now, the sequencing of source inventory slots is configurable, per-injector, by form. In addition to the old priority mode, there's now a random mode and a rotation mode. Incidentally refactor the filter-injector code, to avoid duplication between the itemwise and stackwise variants.
Diffstat (limited to 'init.lua')
0 files changed, 0 insertions, 0 deletions