Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Pastas Witherfarm v 1.0
- --by Spaghetti_Pasta
- function place() --Platziert Wither
- while(true) do
- if turtle.forward()
- turtle.forward()
- turtle.select(1)
- turtle.placeDown()
- turtle.turnLeft()
- turtle.place()
- turtle.turnRight()
- turtle.turnRight()
- turtle.place()
- turtle.up()
- turtle.placeDown()
- turtle.select(2)
- turtle.place()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.place()
- turtle.turnRight()
- turtle.back()
- turtle.place()
- turtle.back()
- else
- redstone.setOutput("Down", true)
- sleep(1)
- redstone.setOutput("Down", false)
- sleep(4)
- end
- end
- end
- function refill() --Fuellt Material nach
- turtle.turnLeft()
- while (true) do
- select(1)
- if turtle.suck(4)
- turtle.turnRight()
- turtle.turnRight()
- while(true) do
- if turtle.suck(3)
- turtle.turnLeft()
- break
- end
- end
- end
- end
- end
- function refillFuel()
- while(true) do
- turtle.select(16)
- if turtle.suckUp()
- turtle.refuel()
- turtle.dropUp()
- end
- end
- end
- refill()
- place()
- redstone.setOutput("Down", true)
- sleep(1)
- redstone.setOutput("Down", false)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement