-
-
Save Citrus34/8f52f0b93697ada9489c6ad80de6e882 to your computer and use it in GitHub Desktop.
testing robots in CC: Tweaked
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
turtle.refuel() | |
print("Refueling...") | |
while turtle.detectDown() do | |
turtle.digDown() | |
print("Moving Down...") | |
turtle.down() | |
turtle.dig() | |
print("Moving Foward...") | |
turtle.forward() | |
turtle.digUp() | |
print("Moving Up...") | |
turtle.up() | |
end | |
Print("Action Completed.") | |
turtle.up() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment