SHOW:
|
|
- or go back to the newest paste.
| 1 | --Black = Export to Primary | |
| 2 | --Red = Import from Primary | |
| 3 | ||
| 4 | function resetStands() | |
| 5 | --All stands to OFF | |
| 6 | rs.setBundledOutput("bottom",0)
| |
| 7 | - | end |
| 7 | + | |
| 8 | ||
| 9 | function clearPrimary() | |
| 10 | --Clear Primary | |
| 11 | --Allow Primary Import | |
| 12 | rs.setBundledOutput("bottom", colors.red)
| |
| 13 | --Allow all storage Stands | |
| 14 | for x in t do | |
| 15 | rs.setBundledOutput("bottom",colors.combine(rs.getBundledOutput("bottom"),colours(num))
| |
| 16 | end | |
| 17 | ||
| 18 | --Reset all colours | |
| 19 | rs.setBundledOutput("bottom",0)
| |
| 20 | end | |
| 21 | - | for x in t do |
| 21 | + | |
| 22 | - | rs.setBundledOutput("bottom",colors.combine(rs.getBundledOutput("bottom"),colours(num))
|
| 22 | + | |
| 23 | ||
| 24 | function importStand (num) | |
| 25 | - | rs.setBundledOUtput("bottom",0)
|
| 25 | + | |
| 26 | - | |
| 26 | + | |
| 27 | - | |
| 27 | + | |
| 28 | 2 = colors.magenta, | |
| 29 | 3 = colors.lightBlue | |
| 30 | - | |
| 30 | + | |
| 31 | ||
| 32 | --Clear Primary | |
| 33 | - | function clearPrimaryStand() |
| 33 | + | clearPrimary |
| 34 | - | resetStands() |
| 34 | + | |
| 35 | --Allow Export to Primary | |
| 36 | rs.setBundledOutput("bottom",colors.black
| |
| 37 | --Allow Access to Storage Armour Stand | |
| 38 | - | function |
| 38 | + | |
| 39 | ||
| 40 | - | local b = peripheral.wrap("appeng_me_tilestoragebus_1")
|
| 40 | + | --Armour Should move to new location |
| 41 | ||
| 42 | --Reset all colours | |
| 43 | rs.setBundledOutput("bottom",0)
| |
| 44 | ||
| 45 | - | b.setPriority(10) |
| 45 | + | |
| 46 | ||
| 47 | - | --Get the Armour set to Move to the primary stand |
| 47 | + | |
| 48 | - | if n == 1 then |
| 48 | + | function |
| 49 | - | rs.setBundledOutput("right",colors.orange)
|
| 49 | + | |
| 50 | - | elseif n == 2 then |
| 50 | + | |
| 51 | - | rs.setBundledOutput("right",colors.magenta)
|
| 51 | + | |
| 52 | - | elseif n == 3 then |
| 52 | + | importStnad(n) |
| 53 | - | rs.setBundledOutput("right",colors.lightBlue)
|
| 53 | + | |
| 54 | ||
| 55 | - | sleep(3) |
| 55 | + | |
| 56 | - | rs.setBundledOutput("right",0)
|
| 56 | + | |
| 57 | --Import from Primary Stand | |
| 58 | ||
| 59 | ||
| 60 | --Bring Armour from Stand wanted to Primary | |
| 61 | --Disable all Dark Cables except for stand wanted | |
| 62 | --Export from AE to Primary Stand | |
| 63 | ||
| 64 | ||
| 65 | --Move armour from chest to Stand (May be nothing) | |
| 66 | --Disconnect Primary Stand | |
| 67 | --Enable the empty stand | |
| 68 | --Enable Import Cable (Buffer Chest) | |
| 69 | --should import to available stand (Storage Bus) |