[NVM] Grouping labels/items #412
Closed
Captainjack20017
started this conversation in
Ideas
Replies: 1 comment
-
|
Nevermind I'm stupid, you can already do that lol |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Heyo, I would like to be able to group/list labels and items under an alias for importing/exporting items to and from a storage. It's just a QoL feature that would make the code easier/nicer to look at aswell as more efficient and less bulky :)
This is what I have to do for automating plates using modern industrialization in ATM10 now:
EVERY 20 TICKS DO
input fe:: from Power
output fe:: to Machines
FORGET
input copper_ingot, gold_ingot, tin_ingot, battery_alloy_ingot,
bronze_ingot, aluminum_ingot from Storage
output copper_ingot to CPlate
output gold_ingot to GPlate
output tin_ingot to TPlate
output battery_alloy_ingot to BAPlate
output bronze_ingot to BPlate
output aluminum_ingot to APlate
FORGET
input #plate from CPlate, GPlate, TPlate, BAPlate, BPlate, APlate
output to storage
END
And what I would like to be able to do is something like this:
Plates = LABEL::(CPlate, GPlate, TPlate, BAPlate, BPlate, APlate)
Resources = ITEM::(copper_ingot, gold_ingot, tin_ingot, battery_alloy_ingot, bronze_ingot, aluminum_ingot)
EVERY 20 TICKS DO
input fe:: from Power
output fe:: to Machines
FORGET
input Resources:: from Storage
output copper_ingot to CPlate
output gold_ingot to GPlate
output tin_ingot to TPlate
output battery_alloy_ingot to BAPlate
output bronze_ingot to BPlate
output aluminum_ingot to APlate
FORGET
input #plate from Plates
output #plate to storage
END
Beta Was this translation helpful? Give feedback.
All reactions