Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- turtle.refuel(1)
- local farmlength
- local farmwidth
- local j = 2
- function farming()
- for i = 1, farmlength do
- turtle.forward()
- turtle.digDown()
- turtle.select(j)
- turtle.placeDown()
- j = j + 1
- end
- end
- term.write("how long are the farm?")
- farmlength = read()
- print(" ")
- term.write("how wide are the farm?")
- farmwidth = read()
- farming()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement