Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- activator = peripheral.wrap("front")
- while true do
- activatorItem = activator.getStackInSlot(1)
- if activatorItem then
- if activatorItem["energy_te"]["energyStored"]/10000 < 10 then
- activator.pushItem("north", 1, 1)
- turtle.turnLeft()
- turtle.drop()
- sleep(3)
- turtle.suck()
- turtle.turnRight()
- turtle.drop()
- end
- end
- sleep(5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement