Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Red = Export to Primary
- --Black = Import from Primary
- function resetStands()
- --All stands to OFF
- rs.setBundledOutput("bottom",0)
- print("Resetting Rednet")
- end
- function clearPrimary()
- local colours = {
- colors.orange,
- colors.magenta,
- colors.lightBlue
- }
- print("Clearing Primary Stand")
- --Clear Primary
- --Allow Primary Import
- --Allow all storage Stands
- rs.setBundledOutput("bottom", 49150)
- --Wait for AE to Catch up
- sleep(5)
- --Reset all colours
- resetStands()
- print("Primary Stand Cleared")
- end
- function importStand (num)
- --Enable specific stand Dark Cable
- local colours = {
- colors.orange,
- colors.magenta,
- colors.lightBlue
- }
- print("Importing Stand")
- --Clear Primary
- clearPrimary()
- --Allow Export to Primary - Red
- --Allow Access to Storage Armour Stand
- rs.setBundledOutput("bottom",colours[num] + colors.red)
- --Wait for AE to catch up
- sleep(5)
- --Armour Should move to new location
- --Reset all colours
- resetStands()
- print("Armour Moved")
- end
- print("Give suit number")
- local n = tonumber(io.read())
- if n == 0 then
- clearPrimary()
- else
- importStand(n)
- end
- --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
Advertisement