Skip to content

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

@CallMeHein

Description

@CallMeHein

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions