Last active
October 12, 2016 11:48
-
-
Save pagameba/618aaa8c1da1ace80761749b8c095502 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Concept for auto-processing: | |
given an inventory of crafting cards holding recipes (input and output) and a machine that can turn the input into the output for each one: | |
Loop over slots in the inventory | |
For current slot | |
get output of recipe | |
get # of items in a storage control module | |
test < some value | |
if > | |
then loop to next slot | |
if < | |
create crafting ticket from card in slot (?) | |
get the ingredients for this card | |
push them into a machine (an alloy smelter in this case) | |
fetch output when finished processing | |
insert into storage module |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment