RS485 / LogisticsPipes

The RS485 take on LogisticsPipes -- ESTḌ 2012
https://rs485.network
Other
240 stars 127 forks source link

Item sink priorities not exactly as documented in `dev_zero_guides/managing_items_with_pipes.md` #1703

Open Hawk777 opened 10 months ago

Hawk777 commented 10 months ago

According to dev_zero_guides/managing_items_with_pipes.md, there are four priorities of destinations:

  1. passive suppliers
  2. all itemsink modules plus basic pipes
  3. terminus modules
  4. default routes

However, by experimentation, this does not actually seem to be the case. In fact, an ItemSink module appears to have strictly higher priority than a Mod Based ItemSink Module, so priority (2) is at least two, and maybe more (once you consider all the different kinds of sinks), distinct priorities. This is good, because it allows you to establish one storage location for all items from a particular mod except for one or two items which you want to keep elsewhere; ItemSinks being higher priority than Mod Based ItemSink Modules means you can simply do the obvious thing (Mod Based ItemSink for the general case plus an ItemSink for the exception) and it works. However, the documentation appears to be wrong.

bziemons commented 10 months ago

correct. There are slight differences between the different item sink modules. It probably depends on how they are configured. I'll see if I can get a better explanation after having another look at the code.