SuperFactoryManager
SuperFactoryManager copied to clipboard
Add tracker splitting for EACH SIDE and EACH SLOT
EVERY 20 TICKS DO
IF Hive HAS >= 4 honey_bottle THEN -- increment based on how many crafters you have
INPUT FROM Hive
OUTPUT RETAIN 1 honey_bottle TO EACH AutoCrafter SLOTS 0
OUTPUT RETAIN 1 honey_bottle TO EACH AutoCrafter SLOTS 1
OUTPUT RETAIN 1 honey_bottle TO EACH AutoCrafter SLOTS 3
OUTPUT RETAIN 1 honey_bottle TO EACH AutoCrafter SLOTS 4
END
END
considering doing something like
EVERY 20 TICKS DO
IF Hive HAS >= 4 honey_bottle THEN
INPUT FROM Hive
OUTPUT RETAIN 1 honey_bottle TO EACH AutoCrafter EACH SLOTS 0,1,3,4 -- Proposed, not implemented syntax
END
END
currently it behaves like
OUTPUT 1 TO chest EACH SIDE -- these are equiv atm
OUTPUT 1 TO chest TOP,BOTTOM,NORTH,SOUTH,EAST,WEST SIDE
but I want it to mean
OUTPUT 1 TO chest EACH SIDE -- proposed change
OUTPUT 1 TO chest TOP SIDE
OUTPUT 1 TO chest BOTTOM SIDE
OUTPUT 1 TO chest NORTH SIDE
OUTPUT 1 TO chest SOUTH SIDE
OUTPUT 1 TO chest EAST SIDE
OUTPUT 1 TO chest WEST SIDE
From the discussion in https://discord.com/channels/967118679370264627/1340556924956971111
OUTPUT 1 TO chest EACH SLOTS 0,1 -- two items moved per chest
OUTPUT 1 TO EACH chest SLOTS 0,1 -- one item moved per chest
OUTPUT 1 TO EACH chest EACH SLOTS 0,1 -- the "EACH" before "chest" is extraneous and should have a linter warning