Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- redstone.setAnalogOutput("bottom", 0)
- turtle.select(1)
- while true do
- os.pullEvent("redstone") -- wait for a "redstone" event
- if rs.getInput("left") then -- check the input
- turtle.suckUp()
- end
- end
- while true do
- os.pullEvent("redstone") -- wait for a "redstone" event
- if rs.getInput("left") then -- check the input
- turtle.suckUp()
- end
- end
- while true do
- os.pullEvent("redstone") -- wait for a "redstone" event
- if rs.getInput("left") then -- check the input
- turtle.suckUp()
- end
- end
- turtle.select(5)
- while true do
- os.pullEvent("redstone") -- wait for a "redstone" event
- if rs.getInput("left") then -- check the input
- turtle.suckUp()
- end
- end
- while true do
- os.pullEvent("redstone") -- wait for a "redstone" event
- if rs.getInput("left") then -- check the input
- turtle.suckUp()
- end
- end
- while true do
- os.pullEvent("redstone") -- wait for a "redstone" event
- if rs.getInput("left") then -- check the input
- turtle.suckUp()
- end
- end
- turtle.select(9)
- while true do
- os.pullEvent("redstone") -- wait for a "redstone" event
- if rs.getInput("left") then -- check the input
- turtle.suckUp()
- end
- end
- while true do
- os.pullEvent("redstone") -- wait for a "redstone" event
- if rs.getInput("left") then -- check the input
- turtle.suckUp()
- end
- end
- while true do
- os.pullEvent("redstone") -- wait for a "redstone" event
- if rs.getInput("left") then -- check the input
- turtle.suckUp()
- end
- end
- turtle.craft()
- redstone.setAnalogOutput("bottom", 1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement