Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- if turtle.getFuelLevel() <= 0 then
- print("I need fuel!")
- print("Please give me fuel")
- print("then press any key")
- os.pullEvent("key")
- for slot=1,16 do
- print("Om nom nom")
- turtle.select(slot)
- turtle.refuel()
- end
- print("That was delicious, thank you!")
- end
- turtle.attack()
- print("Beating the shit out of something!")
- if turtle.getItemCount(16) > 0 then
- print("My belly is full!")
- print("Take a dump!")
- for slot=1,16 do
- print("This feels so good!")
- turtle.select(slot)
- turtle.dropDown()
- end
- end
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement