Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local component = require("component")
- local BMStand = 1
- local InputChest = 0
- local OutputSlot = 2
- local BMOutSlot = 7
- local OutputChest = 5
- local ItemCount = 0
- while (1) do
- OutputSlot= 2
- ItemCount = 0
- while (5 > ItemCount) do
- ItemCount = 0
- for InputSlot = 5, 1, -1 do
- ItemCount = ItemCount + component.transposer.getSlotStackSize(InputChest, InputSlot)
- end
- os.sleep(2)
- end
- for InputSlot = 5, 1, -1 do
- for InputItem = 1, component.transposer.getSlotStackSize(InputChest, InputSlot) do
- component.transposer.transferItem(InputChest, BMStand, 1, InputSlot, OutputSlot)
- OutputSlot = OutputSlot + 1
- end
- end
- while (0 == component.transposer.getSlotStackSize(BMStand, BMOutSlot)) do
- os.sleep(2)
- end
- component.transposer.transferItem(BMStand, OutputChest, 64, BMOutSlot)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement