Skip to content

Feature Request - New Lock Mode - Block other recipies #1236

@CDx4f3kCAf3Y

Description

@CDx4f3kCAf3Y

Describe your enhancement

Playing Refined Storage 2.0.0 on All the Mods 10-5.4.

The relevant lock modes for this discussion are (in order):

  1. Never
  2. Lock until all outputs are received
  3. Lock until machine is empty

The purpose of this enhancement is to find a workable compromise between automating all recipes with a single machine (the refined storage way) and having one machine per recipe (the modern industrialization way), when dealing with recipes that have multiple inputs.

For this discussion, assume the machine being automated is either the Mixer or the Chemical Reactor.

Using Lock Mode 1 (Never) - This fails... it is only a matter of time before crafting glitches and the request has to be canceled/re-submitted. This is expected.

Using Lock mode 3 (Lock until machine is empty) - This fails... as soon as the first input item is inserted, the autocrafter locks and the remaining input items are not inserted. This is a surprise but also expected.

An initial middle ground can be achieved using Lock mode 2 (Lock until all outputs are received) - This allows all inputs for a single instance of a recipe to be inserted, then it waits for the machine to do its thing and the outputs to be retrieved. This works but the machines never increase their efficiency because they are detecting a gap between one crafting run and the next (due to having to retrieve the outputs first).

I would propose a new lock mode - Lock until all recipe instances are finished. This would go between modes 1 and 2 above. You could think of this as a combination of modes 1 and 2. In this new mode, the autocrafter will lock when the items for the first recipe instance are inserted. The autocrafter will continue inserting input items as long as those items belong to additional instances of the same recipe that created the lock. Then when all outputs for all instances of that recipe are received, the autocrafter unlocks.

Is this possible?

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