Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Oprogramowanie skladowe/instalator systemow/czesc skladowa stworzonych przez uzytkownika serwisu Discord - Wisnia#5536 --
- -- Jesli zaplaciles za to oprogramowanie zostales oszukany. --
- -- Zakazuje sie kopiowania oprogramowania bez zgody autora, czerpania korzysci materialnych, podpisywania sie pod oprogramowaniem --
- -- Dozwolone jest tworzenie modyfikacji oprogramowania badz jego czesci wylacznie wtedy, gdy widoczna jest informacja o oryginalnym autorze --
- -- Kompletna EULA dostepna jest na serwerze Discord: CRfXMXU --
- while true do
- term.clear()
- term.setBackgroundColor(colors.white)
- term.clear()
- term.setCursorPos(1,1)
- term.setBackgroundColor(colors.yellow)
- term.setTextColor(colors.white)
- print("/home/os/.gry |Programy i funkcje/Gry|")
- term.setBackgroundColor(colors.red)
- term.setCursorPos(51,1)
- print("X")
- term.setBackgroundColor(colors.white)
- term.setTextColor(colors.black)
- term.setCursorPos(1,2)
- print("2048")
- term.setBackgroundColor(colors.blue)
- term.setTextColor(colors.white)
- term.setCursorPos(46,19)
- write(time)
- term.setBackgroundColor(colors.blue)
- term.setTextColor(colors.white)
- term.setCursorPos(1,19)
- write("Start [Pulpit] ")
- local event, click, x, y = os.pullEvent("mouse_click")
- if x == 7 and y == 19 or x == 8 and y == 19 or x == 9 and y == 19 or x == 10 and y == 19 or x == 11 and y == 19 or x == 12 and y == 19 then shell.run("/os/.menu") end
- if x == 1 and y == 2 or x == 2 and y == 2 or x == 3 and y == 2 then shell.run("/os/.2048") end
- if x == 1 and y == 19 or x == 2 and y == 19 or x == 3 and y == 19 or x == 4 and y == 19 or x == 5 and y == 19 or x == 1 and y == 18 or x == 2 and y == 18 or x == 3 and y == 18 or x == 4 and y == 18 or x == 5 and y == 18 then
- term.setBackgroundColor(colors.yellow)
- term.setCursorPos(1,17)
- print("Wylacz ")
- term.setCursorPos(1,16)
- print("Uruchom ponownie ")
- term.setCursorPos(1,15)
- print("Wyjdz do CraftOS ")
- term.setCursorPos(1,14)
- print("MineSurf ")
- local event, click, x, y = os.pullEvent("mouse_click")
- if x == 1 and y == 17 or x == 2 and y == 17 or x == 3 and y == 17 or x == 4 and y == 17 then os.shutdown() end
- if x == 1 and y == 16 or x == 2 and y == 16 or x == 3 and y == 16 or x == 4 and y == 16 then os.reboot() end
- if x == 1 and y == 15 or x == 2 and y == 15 or x == 3 and y == 15 or x == 3 and y == 15 then term.clear() term.setCursorPos(1,1)
- error("") end
- if x == 1 and y == 14 or x == 2 and y == 14 or x == 3 and y == 14 or x == 4 and y == 14 then shell.run("/os/.surf") end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement