Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - os.loadAPI('hare')
 - STORAGE = {807, 67, -656, 'north'}
 - ESSENCES = {{807, 69, -656, 'east'},
 - {807, 68, -656, 'east'},
 - {807, 67, -656, 'east'},
 - {807, 69, -655, 'east'},
 - {807, 68, -655, 'east'},
 - {807, 67, -655, 'east'},
 - {807, 69, -654, 'east'},
 - {807, 68, -654, 'east'},
 - {807, 67, -654, 'east'},
 - {807, 69, -653, 'east'},
 - {807, 68, -653, 'east'},
 - {807, 67, -653, 'east'},
 - {807, 69, -652, 'east'},
 - {807, 68, -652, 'east'},
 - {807, 67, -652, 'east'},
 - {807, 69, -651, 'east'},
 - {807, 68, -651, 'east'},
 - {807, 67, -651, 'east'},
 - {807, 69, -650, 'east'},
 - {807, 68, -650, 'east'},
 - {807, 67, -650, 'east'}}
 - function dumpAll()
 - local i
 - print('Dumping inventory...')
 - hare.goto(STORAGE)
 - for i=1,16 do
 - turtle.select(i)
 - turtle.drop(64)
 - end
 - end
 - dumpAll()
 - while true do
 - for k,v in pairs(ESSENCES) do
 - print('Moving...')
 - hare.goto(v)
 - for k2,v2 in pairs({1,2,3,5,6,7,9,10,11}) do
 - turtle.select(v2)
 - turtle.suck(16)
 - end
 - turtle.select(16)
 - turtle.craft(64)
 - dumpAll()
 - end
 - end
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment