Posted 18 September 2012 - 08:50 AM
Hi, i'm a rookie on this mod, but I created a program. This program can plant seeds, take wheats and craft a bread!
PasteBin: http://pastebin.com/WR2R0LSP
Raw code:
How to use that:
First place a chest and crafty farming turtle under chest. Like this http://imgur.com/WTfmZ . In turtle first slot place min 4 seeds and in second slot place 3 wheats. Like this http://imgur.com/1eEOr. Then run program, first it's plants a seeds. Then, if you wanna test it, grow the wheat with bone meal and run the program again. It's take the wheats and craft's a bread.
PasteBin: http://pastebin.com/WR2R0LSP
Raw code:
for m=1,3 do
turtle.dig()
turtle.turnRight()
turtle.suck()
end
turtle.dig()
number = 4
turtle.turnRight()
function wheat()
number = number + 1
turtle.select(2)
turtle.dropUp(1)
turtle.select(number)
turtle.suckUp()
--os.sleep(10)
end
wheat()
wheat()
wheat()
turtle.select(1)
turtle.dropUp()
turtle.select(2)
turtle.dropUp()
turtle.select(16)
turtle.dropUp()
if not turtle.craft() then
print "Don't know a problem"
else
turtle.craft()
print "Crafted bread."
end
turtle.select(1)
turtle.suckUp()
turtle.select(2)
turtle.suckUp()
turtle.select(1)
for i=1,3 do
turtle.dig()
turtle.place()
turtle.turnRight()
end
turtle.dig()
turtle.place()
How to use that:
First place a chest and crafty farming turtle under chest. Like this http://imgur.com/WTfmZ . In turtle first slot place min 4 seeds and in second slot place 3 wheats. Like this http://imgur.com/1eEOr. Then run program, first it's plants a seeds. Then, if you wanna test it, grow the wheat with bone meal and run the program again. It's take the wheats and craft's a bread.