Atomzerg

ставит

Apr 10th, 2019
2,182
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local sides = require "sides"
  2. local robot = require "robot"
  3. local component = require "component"
  4. local active_slot = 1
  5. size=robot.inventorySize()
  6. local function Text()
  7.     os.execute("cls")
  8.     print("РОБОТ РАБОТАЕТ!! Создатель - GooodGame")
  9.     print("Доработал-atomzerg")
  10. end
  11.  
  12. Text()
  13.  
  14.  
  15.  
  16. while true do
  17. robot.select(active_slot)
  18. if robot.count(active_slot) == 0 then
  19.     active_slot = active_slot + 1 end
  20.   if robot.select(active_slot) ==size then
  21.    active_slot = 1 end
  22. if robot.place() == false then active_slot = active_slot + 1 end
  23. if active_slot == size then active_slot = 1 end
  24. robot.place()
  25. end
RAW Paste Data Copied