-- code requires felling turtle with slot 1 to have resin basin, and inventory filled with rubber logs t = turtle -- declare turtle to be variable "t" to decrease redundant coding while true do -- infinite loop os.pullEvent("redstone") -- waiting for a redstone event to happen t.place() -- places the resin collector os.sleep(7) -- waiting for resin to collect t.dig() -- collecting resin basin back end