techage/basic_machines
Michal Cieslakiewicz fbe4c914d7 distributor: improve fairness by using random spread
Distributor iterates through filter indices always in the same order,
accidentally favouring certain ports. This is particularly noticeable
for 3 outputs configured with the same item - lowest numbered port
is receiving double quantity (TA2 distributor moves items in pack of 4).

Fix provided in this patch adds an extra mapping for filter indexing,
permutating randomly outputs with identical items so no ports are
preferred anymore.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2020-08-07 22:16:21 +02:00
..
autocrafter.lua ta4 injector added, ta4 pusher and distributor changed, maintenance and minor bugfixes 2020-04-25 21:06:19 +02:00
blackhole.lua Blackhole: Add support for liquids 2020-07-17 20:01:04 +02:00
chest.lua node number bugfixes 2020-06-13 23:32:00 +02:00
consumer.lua node number bugfixes 2020-06-13 23:32:00 +02:00
distributor.lua distributor: improve fairness by using random spread 2020-08-07 22:16:21 +02:00
electronic_fab.lua ta4 injector added, ta4 pusher and distributor changed, maintenance and minor bugfixes 2020-04-25 21:06:19 +02:00
forceload.lua storage backend prepared for sqlite 2020-05-19 18:43:24 +02:00
gravelrinser.lua cracking and hydrogenation recipes added 2020-07-06 20:18:38 +02:00
gravelsieve.lua ta4_chest and distributor modes enhanced, further improvements 2020-04-13 22:55:49 +02:00
grinder.lua ta4_chest and distributor modes enhanced, further improvements 2020-04-13 22:55:49 +02:00
legacy_nodes.lua sqlite3 support added, furnace bugfix 2020-05-23 14:11:35 +02:00
liquidsampler.lua distri 1:1 mode changed, drill pipe wrench added, ta4_chest modes enhanced, further improvements 2020-04-13 13:20:38 +02:00
pusher.lua tubes upgraded, manuals updated 2020-05-31 20:41:17 +02:00
quarry.lua fix quarry returning unknown item when mining clay block 2020-07-05 16:19:57 -07:00
source.lua v0.20 with improvements and bugfixes 2020-07-31 12:41:12 +02:00
ta4_chest.lua Lua Controller: Allow to get itemstring and description of 8x2000 chest contents 2020-07-27 21:52:52 +02:00
ta4_injector.lua ta4 injector added, ta4 pusher and distributor changed, maintenance and minor bugfixes 2020-04-25 21:06:19 +02:00