Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- local function pulseBlack(num)
- for i = 1,num do
- redstone.setBundledOutput("back", colors.black)
- sleep(1)
- redstone.setBundledOutput("back", 0)
- sleep(1)
- end
- local function black()
- pulseBlack(turtle.getItemCount(1)-0)
- end
- local function check()
- if turtle.compareTo(2) == true then
- black()
- else
- dropDown()
- sleep(5)
- end
- local function run()
- turtle.select(1)
- if turtle.getItemCount(1) < 1 then
- turtle.suck()
- else
- check()
- dropDown()
- sleep(5)
- end
- run()
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement