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

Add an option in pattern provider to only accept the product of its current recipe when locked #8333

Open
changhe3 opened this issue Jan 15, 2025 · 5 comments

Comments

@changhe3
Copy link

changhe3 commented Jan 15, 2025

Describe the feature

Add a toggle button to the pattern provider interface. When toggled on, the pattern provider's return inventory will only accept the main product of the recipe at which the pattern provider is locked.

Reasons why it should be considered

This can simplify many autocrafting setups. Yes I know level emitter can be set to emit a signal when something is being crafted via crafting card but this information is not specific to a pattern provider but across the network.

Additional details

For example, suppose we are automating some kind of in-world crafting, where we have the following patterns

item A + item x = item B
item B + item y = item C
item C + item z = item D

The most straight forward way of doing this is to push the ingredients into a subnet and drop them with formation plane and pick the result up with annihilation plane in another subnet connecting to the pattern provider with a storage bus. However, there's no way to dynamically set filter on that storage bus. We want to pick up, say, item B when we are crafting it from item A and item x but we don't want to pick it up when we are using it as an ingredient when crafting item C.

@shartte
Copy link
Member

shartte commented Jan 15, 2025

By accept you mean via insertion from 3rd party automation? (i.e. pipes)

@changhe3
Copy link
Author

@shartte yes, basically similar to how molecular assembler will only accept the crafting ingredients when you insert a pattern in it.

@shartte
Copy link
Member

shartte commented Jan 15, 2025

Good point, yes. Will be taken under consideration.

@Kevin-Marsh
Copy link

Kevin-Marsh commented Jan 15, 2025

This is being worked on by Jarva for advancedae in the development chat if you want to see about poaching it.
https://github.com/pedroksl/AdvancedAE/pull/93/files

@shartte
Copy link
Member

shartte commented Jan 15, 2025

This shouldn't be too difficult. I am actually considering to just make this the way LOCK_UNTIL_RESULT works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants