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

Inventory Tweaks: Allow Auto Steal and Auto Dump under certain conditions #4921

Open
2 tasks done
CallMeHein opened this issue Sep 30, 2024 · 0 comments
Open
2 tasks done
Labels
enhancement New feature or request.

Comments

@CallMeHein
Copy link

CallMeHein commented Sep 30, 2024

Describe the feature

Right now, Auto Steal and Auto Dump cannot be enabled at the same time, presumably to prevent infinite loops of dumping and stealing the same item/stack.

However if both Steal and Dump are in "Whitelist" Mode and the two Whitelists have no common items, Auto Steal and Auto Dump could coexist without causing a loop.

Another less safe but more flexible option would be to allow both Autos if Delay is greater than zero - it might cause a loop but wouldn't blow up a System like a 0 Delay Loop probably would, leaving it to the player to fix their Black-/Whitelists

My, admittedly simple, use case where i would want this feature is the following configuration:
Steal Screen: Furnace
Dump Whitelist: Coal, Cobblestone
Steal Whitelist: Stone

I took a quick look at the code. If either suggestion gets accepted i'm sure i could implement it.

After playing around with it, i realized i missjudged how AutoSteal/Dump actually work, so instead i'll just leave this as an idea

Before submitting a suggestion

  • This feature doesn't already exist in the client. (I have checked every module and their settings on the latest dev build)

  • This wasn't already suggested. (I have searched suggestions on GitHub and read the FAQ)

@CallMeHein CallMeHein added the enhancement New feature or request. label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant