Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --@Author: Zach Combs aka TehNoiseBomb
- --@Version: 1.1
- local inputs = {...}
- local farm = assert(loadfile("farm")) --Load the farm code as a variable that can be called as a function
- local seed --A table of details about the seed in the turtle's inventory, the amount of seeds is returned to the main farm9x9 file
- --Starting above the first crop block, repeat the following eight times:
- -- Move forward one block
- -- Call the farm code
- seed = farm(...)
- for i = 0, 7 do
- print("Moving forward...")
- turtle.forward()
- seed = farm(...)
- end
- --Return the amount of seeds in the turtle
- return seed.count
Add Comment
Please, Sign In to add comment