Advertisement
Guest User

Untitled

a guest
Dec 10th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. run = true
  2. print("**Farming area is meant to be a rectangle**")
  3. print("**Turtle should start at the bottom left of the farm plot**")
  4.  
  5. io.write("What is the crop type: ")
  6. croptype = (tostring(io.read()))
  7. io.write("How many blocks forward: ")
  8. blocksforward = (tostring(io.read()))
  9. io.write("How many blocks to the right: ")
  10. blocksright = (tostring(io.read()))
  11.  
  12.  
  13. while run do
  14. if keyPress(27) == true then break end
  15. if croptype == "hemp" then
  16. print("Nice")
  17. end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement