Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - local chest = peripheral.wrap("left")
- chest.condenseItems()
- for i=1,27 do
- local slot = chest.getStackInSlot(i)
- print(slot.name.." is in slot "..i)
- if slot.name=="stone" then
- while chest.getStackInSlot(i)~=nil do
- -- local slot = chest.getStackInSlot(i)
- -- just don't mess with inventory when it's running
- -- print(slot.name.." is in slot "..i)
- -- if slot.name=="stone" then
- print("pushing stone from "..i)
- chest.pushItem("down",i,1)
- sleep(5)
- end
- -- sleep(10)
- end
- end
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment                    
                 
                    