Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version = "1.0.4"
- Args = {...}
- if Args[1] ~= "Startup" then
- printError("Use Only The Launcher!!!")
- os.sleep(3)
- os.reboot()
- error("API ERROR",0)
- end
- shell.run("Doodle/update")
- LogCraft = "Doodle/LogCraft"
- Game = "Doodle/game"
- GameConfi = "Doodle/configs/Gameconfig.txt"
- tArgs = {}
- tArgs[3] = "Doodle/logs.txt"
- tArgs[2] = "Doodle/configs/Log.Config.txt"
- shell.run(LogCraft,"startup","Doodle/configs/Log.Config.txt","Doodle/logs.txt")
- addlog("PARTS LOADED")
- -------------------------------------------
- tArgs = {...}
- sloww = textutils.slowWrite
- slowp = textutils.slowPrint
- scp = term.setCursorPos
- sbc = term.setBackgroundColor
- stc = term.setTextColor
- clr = term.clear
- drawLine = paintutils.drawLine
- drawPixel = paintutils.drawPixel
- drawBox = paintutils.drawBox
- red = colors.red
- blue = colors.blue
- yellow = colors.yellow
- orange = colors.orange
- green = colors.green
- white = colors.white
- black = colors.black
- gray = colors.gray
- lightGray = colors.lightGray
- lightBlue = colors.lightBlue
- left = keys.left
- right = keys.right
- up = keys.up
- down = keys.down
- enter = keys.enter
- addlog("STRINGS LOADED")
- function Clear(color,x,y)
- if color then term.setBackgroundColor(color) end
- term.clear()
- if x and y then
- term.setCursorPos(x,y)
- else
- term.setCursorPos(1,1)
- end
- end
- function timer(var)
- if var == "start" then
- return os.time()*50
- elseif type(var) == "number" then
- return os.time()*50 - var
- else
- error("Expected Stirng or Number",2)
- end
- end
- --------------------------------------------
- Clear()
- --slowp("STARTING GAME ...",20)
- addlog("Starting Game")
- shell.run(Game,GameConfi)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement