Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- turtle makes flowers in petal apothacary
- -- pastebin get FfjWVrYq tmkflr
- -- seeds in 2
- -- petals in 3 - 16
- -- water buckets in 1
- -- water bucket chest right side of turtle
- local tArgs = { ... }
- -- local function printUsage()
- if #tArgs < 1 then
- print("Usage: tmkflr <x> ")
- print("Petals in slots 2-15; Seeds in slot 16.")
- print("Water Buckets in chest on right")
- return
- end
- local x = tArgs[1]
- for i = 1, x do
- -- get water bucket
- turtle.turnRight()
- turtle.select(1)
- turtle.suck()
- turtle.turnLeft()
- os.sleep(.25)
- -- fill apothecary
- turtle.select(1)
- turtle.drop()
- os.sleep(.25)
- -- drop petals and seed
- for s = 2, 16 do
- turtle.select(s)
- turtle.drop(1)
- os.sleep(.25)
- end
- -- hopperhock gets empty buckets and flowers
- os.sleep(.25)
- end
- -- eof
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement