Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Black = Export to Primary
- --Red = Import from Primary
- function resetStands()
- --All stands to OFF
- rs.setBundledOutput("bottom",0)
- end
- function importStand (num)
- --Enable specific stand Dark Cable
- local colours = {
- 1 = colors.orange,
- 2 = colors.magenta,
- 3 = colors.lightBlue
- }
- --Clear Primary
- --Allow Primary Import
- rs.setBundledOutput("bottom", colors.red)
- --Allow all storage Stands
- for x in t do
- rs.setBundledOutput("bottom",colors.combine(rs.getBundledOutput("bottom"),colours(num))
- end
- --Reset all colours
- rs.setBundledOUtput("bottom",0)
- rs.setBundledOutput("bottom",colours(num))
- end
- function clearPrimaryStand()
- resetStands()
- end
- function
- local b = peripheral.wrap("appeng_me_tilestoragebus_1")
- print("Give suit number")
- local n = tonumber(io.read())
- b.setPriority(10)
- --Get the Armour set to Move to the primary stand
- if n == 1 then
- rs.setBundledOutput("right",colors.orange)
- elseif n == 2 then
- rs.setBundledOutput("right",colors.magenta)
- elseif n == 3 then
- rs.setBundledOutput("right",colors.lightBlue)
- end
- sleep(3)
- rs.setBundledOutput("right",0)
- --Remove Armour from primary to chest (May be nothing)
- --Disconect all Stands
- --Import from Primary Stand
- --Bring Armour from Stand wanted to Primary
- --Disable all Dark Cables except for stand wanted
- --Export from AE to Primary Stand
- --Move armour from chest to Stand (May be nothing)
- --Disconnect Primary Stand
- --Enable the empty stand
- --Enable Import Cable (Buffer Chest)
- --should import to available stand (Storage Bus)
Advertisement
Add Comment
Please, Sign In to add comment