Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- --write("Begin loop")
- if redstone.getAnalogInput("right") < 1 then
- -- if redstone.getInput("right", false) then
- -- write ("checking For terrasteel items")
- if turtle.getItemCount(1) > 1 and turtle.getItemCount(2) > 1 and turtle.getItemCount(3) > 1 then
- -- write("Starting Terrasteel production.")
- turtle.select(1)
- turtle.dropDown(1)
- sleep(.5)
- turtle.select(2)
- turtle.dropDown(1)
- sleep(.5)
- turtle.select(3)
- turtle.dropDown(1)
- sleep(.5)
- -- write("Finished Terrasteel Production")
- end
- -- else write("Redstone active")
- end
- sleep(2)
- end
Add Comment
Please, Sign In to add comment