htrrht

summon

Nov 23rd, 2020 (edited)
451
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local component = require("component")
  2. local sides = require("sides")
  3. local inventory = component.inventory_controller
  4. local robot = component.robot
  5.  
  6. robot.select(15)
  7. inventory.equip()
  8.  
  9. robot.turn(false)
  10. robot.use(sides.front)
  11. robot.turn(true)
  12.  
  13. robot.move(sides.front)
  14. robot.move(sides.front)
  15.  
  16. for i = 1, 15 do
  17.    robot.select(i)
  18.    inventory.equip()
  19.    robot.use(sides.front)
  20. end
  21.  
  22. robot.move(sides.back)
  23. robot.move(sides.back)
  24.  
  25. robot.turn(false)
  26. robot.use(sides.front)
  27. robot.turn(true)
  28.  
  29. robot.select(15)
  30. inventory.equip()
  31.  
  32. for i = 1, 15 do
  33.    robot.select(i)
  34.    robot.drop(sides.bottom)
  35. end
RAW Paste Data