I started playing with turtles to teach myself how to code (no previous experience). This is the result my labors.
pastebin = 03sPu8Hv
functions include:
clearBlock(side, storageChest, delay, slotNumber, lastSlot)
move(side, blocks, fuelChest, storageChest, delay)
clearInventory(side, storageChest, slotNumber, lastSlot)
consolidateInventory(side, storageChest, slotNumber, lastSlot)
findSlot(side, slotNumber, lastSlot)
findEmptySlot(excludedSlot)
getTotal(slotNumber, lastSlot)
slot(operation, side, slotNumber, lastSlot, quantity, delay)
chestSlot(operation, side, chest, slotNumber, lastSlot, quantity)
refuel(side, fuelChest, threshold)
Please try them out and let me know what you think. Be sure to read the comments for further details.
0
A few basic turtle functions
Started by Overthot, Sep 20 2014 12:36 AM
2 replies to this topic
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users