Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local chest = peripheral.wrap("right")
- local stacks
- local holdSpot = 26
- local resetSpot = 27
- while true do
- stacks = chest.getAllStacks()
- if not stacks[resetSpot] == nil and stacks[holdSpot] == nil then
- chest.pushItem("north", resetSpot, 64, 16)
- turtle.digDown()
- chest.pullItem("south", 16, 64, holdSpot)
- turtle.placeDown()
- end
- os.sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement