generated from seanpm2001/Git-Template_V8
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMAIN.lua
56 lines (45 loc) · 1.84 KB
/
MAIN.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
-- Start of script
-- The main interface for Green Star OS
-- Written in MoonScript 0.5.0, compiled manually to Lua 5.4
-- About page
local function about = -> print "About Green Star OS\nInterface for Green Star OS\nStar and moon edition\nVersion 0.0.1 - 2022, Tuesday, March 29th at 9:38 pm\nLicensed under the GNU general public license V3.0\n[Click/tap here toview the license file](/LICENSE-GPL.txt)"
function about = function() end
about()
break
-- Start of the interface program
local main
print "Welcome to Green Star OS."
-- "Boot" manager
print "Choose a mode: \nGreen Star OS 1 (Mimicks Red Star OS 1)\nGreen Star OS 2 (Mimicks Red Star OS 2)\nGreen Star OS 3 (Mimicks Red Star OS 3)\nGreen Star OS 4 (Mimicks Red Star OS 4)"
break
-- Green Star OS 1
local function mode_gs1 = -> -- Currently empty
function mode_gs1 = function() end
mode_gs1()
break
-- Green Star OS 2
local function mode_gs2 = -> -- Currently empty
function mode_gs2 = function() end
mode_gs2()
break
-- Green Star OS 3
local function mode_gs3 = -> -- Currently empty
function mode_gs3 = function() end
mode_gs3()
break
-- I was made aware of Red Star OS 4 yesterday (2022, Wednesday, March 30th) and decided to give this script a little update
-- Green Star OS 4
local function mode_gs4 = -> -- Currently empty
function mode_gs4 = function() end
mode_gs4()
break
-- I am not sure what else to do right now
-- File info
-- File type: MoonScript source file (*.moon)
-- File version: 2 (2022, Thursday, March 31st at 12:00 am)
-- Line count (including blank lines and compiler line): 40
-- File info
-- File type: Lua source file (*.lua)
-- File version: 2.1 (2022, Thursday, March 31st at 4:36 pm) - The break keyword wasn't added in upon first translation, and one instance of Green Star OS 4 had to be corrected.
-- Line count (including blank lines and compiler line): 57
-- End of script