Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a "restocking" setting to exporters #174

Open
Adirelle opened this issue Aug 21, 2019 · 4 comments
Open

Adding a "restocking" setting to exporters #174

Adirelle opened this issue Aug 21, 2019 · 4 comments

Comments

@Adirelle
Copy link

#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.

@rubensworks
Copy link
Member

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.

@GreyMario
Copy link

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.

@mkaito
Copy link

mkaito commented Sep 17, 2020

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.

@bangplaysgames
Copy link

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.

@rubensworks rubensworks moved this to Options in Features Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Options
Development

No branches or pull requests

5 participants