SHARE
TWEET

Wool farm

Invo_Ker Jun 25th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local r = require("robot")
  2. local inv = require("component").inventory_controller
  3.  
  4.  while true do
  5.   r.select(1)
  6.   if r.durability() == nil then
  7.   r.suckUp()
  8.   inv.equip()
  9.  end
  10.  
  11.   if r.detectDown() then
  12.   r.useDown()
  13.  end
  14.  
  15. for i=1, r.inventorySize() do
  16.   if r.count(i) > 0 then
  17.     r.select(i)
  18.     r.drop()
  19.    end
  20.   end
  21.  end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top