SHOW:
|
|
- or go back to the newest paste.
| 1 | -- Print a line of dashes for aesthetics | |
| 2 | local function lineBreak() | |
| 3 | local width, height = term.getSize() | |
| 4 | for i = 1, width do | |
| 5 | io.write("-")
| |
| 6 | end | |
| 7 | io.write("\n")
| |
| 8 | end | |
| 9 | -- Function to clear the screen | |
| 10 | local function clearScreen() | |
| 11 | term.clear() | |
| 12 | term.setCursorPos(1, 1) | |
| 13 | end | |
| 14 | ||
| 15 | clearScreen() | |
| 16 | -- Print the welcome message | |
| 17 | - | print("Welcome to Monopoly OS by Monopoly Co.")
|
| 17 | + | print("Stargate Controller by Monopoly Co.")
|
| 18 | lineBreak() | |
| 19 | print("Current Time: " .. textutils.formatTime(os.time(), true))
| |
| 20 | lineBreak() | |
| 21 | print("Select a program to run:")
| |
| 22 | - | print("1. Bastion")
|
| 22 | + | print("1. Dial")
|
| 23 | - | print("2. Automatic Bastion")
|
| 23 | + | print("2. Close Gate")
|
| 24 | - | print("3. GPS")
|
| 24 | + | print("3. Update")
|
| 25 | - | print("4. Artillery Controller")
|
| 25 | + | print("4. Lockdown")
|
| 26 | - | print("5. Teleport Controller")
|
| 26 | + | print("5. Other")
|
| 27 | - | print("6. Stargate Controller")
|
| 27 | + | |
| 28 | - | print("7. To-Do List")
|
| 28 | + | |
| 29 | - | print("8. Update")
|
| 29 | + | |
| 30 | - | print("9. Exit")
|
| 30 | + | |
| 31 | if choice == "1" then | |
| 32 | shell.run("Dial")
| |
| 33 | elseif choice == "2" then | |
| 34 | shell.run("CloseGate")
| |
| 35 | elseif choice == "3" then | |
| 36 | - | shell.run("Bastion")
|
| 36 | + | |
| 37 | elseif choice == "4" then | |
| 38 | - | shell.run("RBastion")
|
| 38 | + | shell.run("Lockdown")
|
| 39 | end |