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
- -- Ten kod jest moj arczez, nie twoj --
- term.clear()
- if fs.exists("/os/.pulpit") then obrazek = 1 else obrazek = 0 end
- local image = paintutils.loadImage("/os/.pulpit")
- if obrazek == 1 then paintutils.drawImage(image, 1, 1) else term.setBackgroundColor(colors.black) term.clear()
- term.setBackgroundColor(colors.black) end
- term.setBackgroundColor(colors.red)
- term.setTextColor(colors.white)
- term.setCursorPos(1,2)
- print("Ta wersja systemu MineCore zostala porzucona przez Microcraft. Zalecamy przejscie na NextUI.")
- term.setTextColor(colors.white)
- term.setCursorPos(1,19)
- write("Start")
- term.setCursorPos(51,1)
- print("M")
- local event, click, x, y = os.pullEvent("mouse_click")
- if x == 51 and y == 1 then
- term.setCursorPos(x-15, 2)
- term.setBackgroundColor(colors.black)
- print("Komenda /run *")
- term.setCursorPos(x-15, 3)
- print("Edytor pulpitu *")
- local event, click, a, b = os.pullEvent("mouse_click")
- if a == x and b == 2 then term.setCursorPos(1,2) print("Wpisz nazwe pliku")
- term.setCursorPos(1,3)
- write("")
- program = read()
- if fs.exists(program) then
- shell.run(program)
- else print("Blad")
- sleep(2)
- end end
- if a == x and b == 3 then shell.run("paint /os/.pulpit") end
- end
- if x>0 and x<6 and y == 19 then
- term.setBackgroundColor(colors.blue)
- term.setCursorPos(1,18)
- print("Wyjdz do CraftOS ")
- term.setCursorPos(1,17)
- print("Programy ")
- term.setCursorPos(1,16)
- print("Ustawienia ")
- term.setCursorPos(1,15)
- term.setBackgroundColor(colors.green)
- textutils.slowPrint("Microcraft MineUI", 20)
- term.setBackgroundColor(colors.black)
- local event, click, x, y = os.pullEvent("mouse_click")
- if x>0 and x<10 and y == 18 then term.clear() term.setCursorPos(1,1) error("Opuszczono MineUI. Aby wrocic do systemu MineCore wpisz cd os, a nastepnie .menu") end
- if x>0 and x<10 and y == 17 then
- x = 0
- y = 0
- term.setCursorPos(2,2)
- print("Programy i gry MineCore")
- term.setCursorPos(2,3)
- print("2048")
- term.setCursorPos(2,4)
- print("Snake")
- term.setCursorPos(2,5)
- print("LuaIDE")
- term.setCursorPos(2,6)
- print("NPaintPro")
- term.setCursorPos(2,7)
- print("Kolko krzyzyk")
- local event, click, x, y = os.pullEvent("mouse_click")
- if x>0 and x<5 and y == 3 then shell.run("/os/.2048") end
- if x>0 and x<6 and y == 4 then shell.run("worm") end
- if x>0 and x<7 and y == 7 then shell.run("/os/.kolko") end
- if x>0 and x<7 and y == 5 then
- term.setCursorPos(1,5)
- print("Wpisz nazwe pliku, jaki chcesz edytowac")
- write(".>")
- plik = read()
- shell.run("/os/.luaide", plik)
- end
- if x>0 and x<6 and y == 6 then
- term.setCursorPos(1,7)
- print("Wpisz nazwe pliku, jaki chcesz edytowac")
- write(".>")
- plik = read()
- shell.run("/os/.paint", plik)
- end
- end
- if x>0 and x<10 and y == 16 then
- term.setCursorPos(2,2)
- print("Ustawienia MineCore")
- term.setCursorPos(2,3)
- print("Zmien nazwe komputera")
- term.setCursorPos(2,4)
- print("[Zmien]")
- term.setCursorPos(2,5)
- print("Wyswietl informacje o komputerze")
- term.setCursorPos(2,6)
- print("[Informacje]")
- term.setCursorPos(2,7)
- print("Uruchom ponownie z dyskietki")
- term.setCursorPos(2,8)
- print("[Uruchom ponownie]")
- local event, click, x, y = os.pullEvent("mouse_click")
- if x == 1 and y == 4 or x == 2 and y == 4 or x == 3 and y == 4 then term.setCursorPos(2,9) write("Wpisz nowa nazwe komputera:") nazwa = read() os.setComputerLabel(nazwa) os.reboot() end
- if x == 1 and y == 6 or x == 2 and y == 6 or x == 3 and y == 6 or x == 4 and y == 6 then shell.run("/os/.info") end
- end
- if x>0 and x<25 and y == 8 then
- if fs.exists("/disk/startup") then os.reboot() else print("Blad stacji. Sprawdz czy dyskietka sie w niej znajduje!") end
- end
- end
- if x == 50 and y == 19 then os.reboot() end
- if x == 51 and y == 19 then os.shutdown() end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement