Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.cear()
- term.setCursorPos(1,1)
- print("Reaktorensteuerung")
- print("+ Reactor 1)
- print("+ Reactor 2)
- print("+ Reactor 3)
- print("+ Reactor 4)
- while true do
- local event, button, x, y = os,pullEvent("mouse_click")
- XY= X..","..Y
- if XY == "1,2" and button == 1 then
- redstone.setBundledOutput("back",color.white)
- end
- if XY == "1,3" and button == 1 then
- redstone.setBundledOutput("back",color.orange)
- end
- if XY == "1,4" and button == 1 then
- redstone.setBundledOutput("back",color.magenta)
- end
- if XY == "1,5" and button == 1 then
- redstone.setBundledOutput("back",color.light_blue)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement