Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("top")
- modem = peripheral.wrap("right")
- mon.clear()
- mon.setCursorPos(1,2)
- mon.blit("Pulverizer","0000000000","dddddddddd")
- redstone.setOutput("right", true)
- Pulverizer = true
- mon.setCursorPos(1,4)
- mon.write("Furnice","0000000","ddddddd")
- redstone.setOutput("left", true)
- local Furnice = true
- mon.setCursorPos(1,6)
- mon.write("Injection Chamber","00000000000000000","ddddddddddddddddd")
- local Injection_Chamber = true
- redstone.setOutput("top",true)
- mon.setCursorPos(1,8)
- mon.write("Metalurgig InFuser","000000000000000000","dddddddddddddddddd")
- local Metalurgig_InFuser = true
- redstone.setOutput("bottom", true)
- while true do
- event,side,x,y = os.pullEvent("monitor_touch")
- if x > 1 and x < 11 and y == 2 and Pulverizer == true then
- mon.setCursorPos(1,2)
- mon.clearLine()
- mon.blit("Pulverizer","0000000000","eeeeeeeeee")
- redstone.setOutput("right", false)
- Pulverizer = false
- elseif x > 1 and x < 11 and y == 2 and Pulverizer == false then
- mon.setCoursorPos(1,2)
- mon.clearLine()
- mon.blit("Pulverizer","0000000000","dddddddddd")
- redstone.setOutput("right", true)
- Pulverizer = true
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement