Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local lp = shell.resolve(".")
- local w,h = term.getSize()
- local t = w/2 - 3
- local y = h/2 - 3
- os.loadAPI(lp.."/gameutils")
- local updateRate = 0.3
- local function taskBar()
- print("==VERR=============================================")
- end
- local fin = gameutils.loadAnimation(lp.."/.startup/fin.nfa", t, y, 1)
- fin.timerID = os.startTimer(updateRate)
- local function runLoad()
- while true do
- term.setBackgroundColour(colours.lightGrey)
- term.clear()
- fin:draw()
- local id,key = os.pullEvent("timer")
- if fin:update(key) then
- fin.timerID = os.startTimer(updateRate)
- end
- if fin.currentFrame == fin.upperBound then
- term.setCursorPos(1,1)
- term.clear()
- sleep(1)
- term.clear()
- term.setCursorPos(1,1)
- taskBar()
- print("Welcome to VERR OS, LDShadowLord")
- shell.setAlias("firewolf","ProgramFiles/firewolf")
- shell.setAlias("fw","ProgramFiles/firewolf")
- shell.setAlias("thunderbird","ProgramFiles/thunderbird")
- shell.setAlias("tb","ProgramFiles/thunderbird")
- shell.setAlias("npaintpro","ProgramFiles/npaintpro")
- shell.setAlias("npp","ProgramFiles/npaintpro")
- shell.setAlias("lightshot","ProgramFiles/lightshot")
- print("Alias Commands Set")
- if fs.exists("disk") == true then
- print("There is a disk inserted into the drive.")
- end
- print("Type 'lock' to secure the computer")
- return
- end
- end
- end
- term.clear()
- term.setCursorPos(1,1)
- taskBar() --I
- print("VERR BIOS v0.7")
- print("Running functions....")
- print("Defining parameters...")
- print("Localising variables...")
- sleep(0.1)
- print("Routing Alias'")
- sleep(0.1)
- print("Loading UI")
- print("Accessing Interface")
- print("Pulling ID Key...")
- sleep(0.1)
- print("Redirecting...")
- runLoad()
Advertisement
Add Comment
Please, Sign In to add comment