Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local currentSlot = 1
- function checkSlotInventory()
- if (turtle.getItemCount(currentSlot) == 0)
- then
- currentSlot = currentSlot + 1
- turtle.select(currentSlot)
- end
- end
- function placeArc()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.turnRight()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.turnLeft()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.turnRight()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.turnLeft()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.turnRight()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.turnLeft()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.turnRight()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.turnLeft()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.turnRight()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.turnLeft()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.turnRight()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.turnLeft()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.turnRight()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.turnLeft()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.turnRight()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- end
- local index = 0
- while (index < 2)
- do
- turtle.up()
- placeArc()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- placeArc()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- placeArc()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- placeArc()
- turtle.forward()
- turtle.placeDown()
- checkSlotInventory()
- index = index + 1
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement