Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local FileSystem = "2.0.0"
- local w, h = term.getSize()
- local function CenterText(y,text)
- local x = math.floor((w - string.len(text)) /2)
- term.setCursorPos(x,y)
- term.clearLine()
- term.write(text)
- end
- local function Clear()
- term.clear()
- term.setCursorPos(1,1)
- end
- local function DownloadImportantFiles()
- end
- function Start()
- term.setBackgroundColor(colors.lightBlue)
- Clear()
- CenterText(2,"Blood Path")
- CenterText(3,"Dead Strings")
- CenterText(4,"start game!")
- repeat
- local a, b, c, d = os.pullEvent("mouse_click")
- until d == 4
- if fs.exists("os/System/Programs/BloodPath/Base") then
- shell.run("os/System/Programs/BloodPath/Base")
- else
- CenterText(7,"Base Files missing, downloading now")
- DownloadImportantFiles()
- end
- end
- settings.load(".settings")
- if settings.get("os_Version") == "CCSPS - Iron" then
- Start()
- else
- Clear()
- print("incompatible System")
- print("Compatible Systems:")
- print("CCSPS - Iron”)
- os.sleep(3)
- end
Advertisement
Add Comment
Please, Sign In to add comment