Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local t = turtle
- local error = 0
- function openDoor()
- t.select(2)
- if(t.getItemCount(2) > 0) then
- print("Error: ItemCount slot 2 > 0")
- error = 5
- return
- end
- rs.setOutput("top",true)
- sleep(0.05)
- rs.setOutput("top",false)
- t.transferTo(3)
- end
- function closeDoor()
- end
Advertisement
Add Comment
Please, Sign In to add comment