Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dropCobble()
- -- function mine()
- -- local args = {...}
- -- local width = args[1]
- -- local height = args[2]
- -- printf("Starting mining rectangle with\n[%d] Width and [%d] Height\n", width)
- -- local currentLocation = {}
- -- currentLocation.width = 0
- -- currentLocation.height = 0
- -- while turtle.refuel() do
- -- end
- -- end
- function refuelFromInventory()
- end
- function dropCobble()
- for index = 2; index <= 16; +index
- do
- local selectedItem = turtle.getItemDetail(index)
- if selectedItem.name = "Cobblestone" then
- -- Select the given slot and drop the cobble
- turtle.select(index)
- turtle.drop(selectedItem.count)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement