Applied Energistics 2

Applied Energistics 2

137M Downloads

Craft Max Possible

AudBobb opened this issue ยท 0 comments

commented

Describe the feature

Saw this request was brought up a few years ago, but wanted to suggest it again as I believe it would be a very useful feature.

When you autocraft an item during the select amount screen there should be an additional button, max which sets the amount to the maximum you can craft given the ingredients in the me system.

Reasons why it should be considered

It will help with automation and crafting of things that are required in arbitrary amounts, the use case we have run into is for Mystical Agriculture Essences. The upgrade chain is 4 steps long, each one being 4 of the previous essence, so without doing the math to figure out how many you can create, we just have to guess how many it can craft in order to combine all of the essences.

Additional details

Example
Calculate the ingredients required for 1
Then divide the amount in the system by the base ingredients
then get the smallest of those numbers, floor it and that's the amount