Integrated Tunnels

Integrated Tunnels

53M Downloads

Adding a "restocking" setting to exporters

Adirelle opened this issue · 4 comments

commented

#85 ## Issue type:

  • ➕ Feature request

Short description:

Could exporter have a setting to export item/fluid/energy to complete the target inventory instead of filling it ? E.g. if I set the "stock limit" to 16 items and the target inventory contains only 14 of the exportable items, the exporters only adds 2 items, and it would not export anything if the inventory contains 16 or more items.

Sometimes you just want to keep a small amounts of items available or you do not want to completely fill the target inventory.

commented

Make a boolean variable on whether or not the stored amount of the item is less than your desired amount. Use the choice option in logic programmer with that boolean and a variable card of said item to make a new card for the exporter. This card will export only that item when the boolean value is true.

commented

A recent discussion and a skim of the issue list... could this be implemented through a higher-level combination of a Tunnel part and the appropriate Reader (possibly combined with a logic core) to support the Reader and the Tunnel in the same part space? Sometimes space really is at a premium, and you don't always have access to an ingredient container proxy such as a Phantomface. Perhaps this would remove the need for implementing a conditional on the exporter itself.

commented

Sure, this has been on my internal todo-list for a while already. Since this can already be achieved through combination with an inventory reader it has a lower priority through.

commented

Since this can already be achieved through combination with an inventory reader it has a lower priority through.

Could you go into more detail about this? I've been trying to make an exporter put exactly one stack of two specific kinds of items in a chest, and it's got me stumped.