Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Fetching GPS Coordinates
- print("BEFORE YOU SETUP, MAKE SURE THE TURTLE IS CURRENTLY AT THE PROPER STARTING POSITION!!!\n")
- print("PROPER STARTING POSITION\n- TURTLE MUST BE AT A CORNER OF THE FARM\n- TURTLE MUST BE ABOVE A CHEST\n- TURTLE MUST BE FACING TOWARDS FARM\n")
- print("Please Press Enter To Continue...")
- io.read()
- local x,y,z = gps.locate()
- -- Fetching Manual Values For Farm
- print("In order to use, the turtle MUST be on a chest at a corner of the farm!\n\nHow far would you like me to go forward?")
- local length = io.read()
- print("How far would you like me to go to the side?")
- local width = io.read()
- -- Creating file stats (x, y, z, length, width)
- local settings = fs.open("Settings", "w")
- settings.writeLine(x)
- settings.writeLine(y)
- settings.writeLine(z)
- settings.writeLine(length)
- settings.writeLine(width)
- print("You have successfully set up your farming turtle!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement