Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function getMat()
- right() ; robot.select(12) ; robot.place() ; robot.select(13)
- repeat
- for slot=1,27 do
- local stack_info = inventory.getStackInSlot(side, slot)
- if findMat(stack_info) then
- print("Low building materials", "Restocking from" ,slot)
- inventory.suckFromSlot(sides.front, slot)
- break
- end
- end
- if robot.count(13) <= 13 then
- until robot.(13) >= 13
- robot.select(12) ; robot.swing()
- left()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement