Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function init()
- term.clear()
- term.setCursorPos(1,1)
- print("auto potion brewing in progress")
- inv = peripheral.wrap("right")
- end
- local function clear()
- term.clear()
- term.setCursorPos(1,1)
- end
- local function bottlefill()
- turtle.select(14)
- turtle.place()
- turtle.select(15)
- turtle.place()
- turtle.select(16)
- turtle.place()
- end
- local function gotoStand1()
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- s = 1
- end
- local function gotoStand2()
- turtle.turnRight()
- for i=1,2 do
- turtle.forward()
- end
- turtle.turnRight()
- s = 1
- end
- local function gotoStand3()
- turtle.turnRight()
- for i=1,3 do
- turtle.forward()
- end
- turtle.turnRight()
- s = 1
- end
- local function gotoStand4()
- turtle.turnRight()
- for i=1,4 do
- turtle.forward()
- end
- turtle.turnRight()
- s = 1
- end
- local function gotoStand5()
- turtle.turnRight()
- for i=1,5 do
- turtle.forward()
- end
- turtle.turnRight()
- s = 1
- end
- local function makeAwkward()
- turtle.select(14)
- turtle.drop()
- -- inv.dropSneaky(2,1)
- turtle.select(15)
- turtle.drop()
- -- inv.dropSneaky(2,1)
- turtle.select(16)
- turtle.drop()
- -- inv.dropSneaky(2,1)
- turtle.select(1)
- inv.dropSneaky(1,1)
- end
- local function makeHealing()
- turtle.select(5)
- inv.dropSneaky(1,1)
- end
- local function getPotions()
- for i=14,16 do
- turtle.select(i)
- turtle.suck()
- end
- end
- init()
- bottlefill()
- gotoStand1()
- makeAwkward()
- sleep(21)
- makeHealing()
- sleep(21)
- getPotions()
- gotoStand1()
Advertisement
Add Comment
Please, Sign In to add comment