Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local r = require("robot")
- local comp = require("component")
- local computer = require("computer")
- ---------------------------------
- function el1()--ставим 1 элементы схемы
- r.select(6)--стекло
- r.forward()
- r.place()
- r.back()
- r.select(1)--уровень
- r.place()
- r.select(2)--кабель
- r.place()
- r.select(3)--шина
- r.place()
- r.turnLeft()
- end
- function ur()
- for i=1,4 do
- el1()
- end
- r.select(4)--сундук
- r.up()
- r.placeDown()
- end
- function base()
- r.up()
- r.up()
- r.select(2)--кабель
- r.placeDown()
- r.select(5)--p2p
- r.placeDown()
- for m=1,4 do
- r.select(7)--плотный кабель
- r.place()
- r.turnLeft()
- end
- r.up()
- r.placeDown()
- end
- ---------------------------------------------
- base()
- for a=1,4 do
- ur()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement