Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ Farm Debug Script ]]--
- --[[
- Please make sure the bot's inventory is EMPTY.
- HOW TO USE:
- 1) Place bot in front mature (fully grown) crop. (Put the bot on ground level in front of crop)
- 2) Run script.
- 3) The script will break the fully grown crop.
- 4) The script will then print out all of the information you need to add to the script.
- ]]--
- -- Step 1: Fix location.
- turtle.up()
- turtle.forward()
- -- Step 2: Determine the block below it.
- local success, block = turtle.inspectDown()
- print("[Block Below] name: " .. block.name .. ", mature: " .. block.metadata)
- -- Step 3: Break block below.
- turtle.digDown()
- turtle.suckDown()
- -- Step 4: Collect data on ALL things in inventory.
- for i=1,16 do
- local data = turtle.getItemDetail(i)
- print("[#" .. i .. "] name: " .. data.name)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement