Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.setBackgroundColor(colors.lightGray)
- function Titel()
- term.setBackgroundColor(colors.orange)
- term.setTextColor(colors.gray)
- term.setCursorPos(1,1)
- term.write(" Smart Home - RF / EU ")
- term.setBackgroundColor(colors.lightGray)
- term.setTextColor(colors.white)
- end
- function Button_ON()
- term.setBackgroundColor(colors.lime)
- term.setCursorPos(4,12)
- term.write(" Power I ")
- term.setBackgroundColor(colors.lightGray)
- end
- function Button_OFF()
- term.setBackgroundColor(colors.red)
- term.setCursorPos(15,12)
- term.write(" Power O ")
- term.setBackgroundColor(colors.lightGray)
- end
- function Button_Notstrom()
- term.setBackgroundColor(colors.orange)
- term.setCursorPos(4,14)
- term.write(" NOT - LAVA ")
- term.setBackgroundColor(colors.lightGray)
- end
- function Button_Notaus()
- term.setBackgroundColor(colors.red)
- term.setCursorPos(4,16)
- term.write(" NOT - STOP ")
- term.setBackgroundColor(colors.lightGray)
- end
- function Engine_Fuel_Overlay_RF()
- term.setBackgroundColor(colors.gray)
- term.setCursorPos(2,3)
- term.write(" ")
- term.setCursorPos(2,4)
- term.write(" Engine Fuel Overlay RF ")
- term.setCursorPos(2,5)
- term.write(" ")
- term.setBackgroundColor(colors.lightGray)
- term.setCursorPos(2,6)
- term.write(" ")
- term.setBackgroundColor(colors.gray)
- term.setCursorPos(2,7)
- term.write(" ")
- term.setCursorPos(2,8)
- term.write(" Status O ")
- term.setCursorPos(2,9)
- term.write(" ")
- term.setBackgroundColor(colors.lightGray)
- term.setCursorPos(2,10)
- term.write(" ")
- term.setBackgroundColor(colors.gray)
- term.setCursorPos(2,11)
- term.write(" ")
- term.setCursorPos(2,12)
- term.write(" ")
- term.setCursorPos(2,13)
- term.write(" ")
- term.setCursorPos(2,14)
- term.write(" ")
- term.setCursorPos(2,15)
- term.write(" ")
- term.setCursorPos(2,16)
- term.write(" ")
- term.setCursorPos(2,17)
- term.write(" ")
- term.setCursorPos(22,19)
- term.write(" EU ")
- term.setBackgroundColor(colors.lightGray)
- end
- function overlay()
- zeile01 = " "
- zeile02 = " "
- zeile03 = " "
- zeile04 = " "
- zeile05 = " "
- zeile06 = " "
- zeile07 = " "
- zeile08 = " "
- zeile09 = " "
- zeile10 = " "
- zeile11 = " "
- zeile12 = " "
- zeile13 = " "
- zeile14 = " "
- zeile15 = " "
- zeile16 = " "
- zeile17 = " "
- zeile18 = " "
- zeile19 = " "
- zeile20 = " "
- term.setCursorPos(1,1)
- term.write(zeile01)
- term.setCursorPos(1,2)
- term.write(zeile02)
- term.setCursorPos(1,3)
- term.write(zeile03)
- term.setCursorPos(1,4)
- term.write(zeile04)
- term.setCursorPos(1,5)
- term.write(zeile05)
- term.setCursorPos(1,6)
- term.write(zeile06)
- term.setCursorPos(1,7)
- term.write(zeile07)
- term.setCursorPos(1,8)
- term.write(zeile08)
- term.setCursorPos(1,9)
- term.write(zeile09)
- term.setCursorPos(1,10)
- term.write(zeile10)
- term.setCursorPos(1,11)
- term.write(zeile11)
- term.setCursorPos(1,12)
- term.write(zeile12)
- term.setCursorPos(1,13)
- term.write(zeile13)
- term.setCursorPos(1,14)
- term.write(zeile14)
- term.setCursorPos(1,15)
- term.write(zeile15)
- term.setCursorPos(1,16)
- term.write(zeile16)
- term.setCursorPos(1,17)
- term.write(zeile17)
- term.setCursorPos(1,18)
- term.write(zeile18)
- term.setCursorPos(1,19)
- term.write(zeile19)
- term.setCursorPos(1,20)
- term.write(zeile20)
- Titel()
- Engine_Fuel_Overlay_RF()
- Button_ON()
- Button_OFF()
- Button_Notstrom()
- Button_Notaus()
- end
- overlay()
- while true do
- -- Button_EU
- local event, button, x, y =os.pullEvent( "mouse_click" )
- if x > 22 and x < 26 and y == 19 then
- shell.run("3")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement