Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- 12 x 12 (8 x 6) Monitors
- --1.5 stacks per row
- --6 rows = 9 stacks
- for _,v in ipairs(peripheral.getNames()) do
- if peripheral.getType(v)=="modem" then
- rednet.open(v)
- end
- end
- shell.run("clear")
- print("Fill invSlots 1-9 with Stacks of Monitors")
- print("Fill other invSlot with fuel equal to 582 fuel ie. 8 coal or 1 coalblock")
- print("Waiting for Rednet Signal")
- coroutine.yield("modem_message")
- shell.run("refuel all")
- local sel = 1
- turtle.select(sel)
- function rightRow()
- for i = 1 , 12 * 8 do
- if not turtle.place() then
- sel = sel + 1
- turtle.select(sel)
- end
- shell.run("go rt fd lt")
- end
- turtle.up()
- shell.run("go lt fd rt")
- end
- function leftRow()
- for i = 1 , 12 * 8 do
- if not turtle.place() then
- sel = sel + 1
- turtle.select(sel)
- end
- shell.run("go lt fd rt")
- end
- turtle.up()
- shell.run("go rt fd lt")
- end
- for i=1,3 do
- rightRow()
- leftRow()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement