Add 'Shutting Down.' message to main menu, matches in-game. Adjust wording of exit function, to match in-game

This commit is contained in:
Firepup Sixfifty 2024-04-27 17:50:47 -05:00
parent fc03ce4ffd
commit 860f43f4ed
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA
2 changed files with 9 additions and 2 deletions

View file

@ -38,7 +38,7 @@ try:
sleep(0.2)
sel = 0
while sel != 3:
sel = select.beginSelection(data.ROBCO_HEADERS, data.SOFT_HEADERS, data.MAIN_MENU)
sel = select.beginSelection(data.ROBCO_HEADERS, data.SOFT_HEADERS, data.MAIN_MENU, data.MAIN_MSGS)
while not queueIsEmpty():
sleep(0.2)
if sel == 0:

View file

@ -37,7 +37,7 @@ MAIN_MENU = (
'Lock Control',
'Turret Control',
'Read Log',
'Logoff Terminal'
'Log out'
)
LOCK_MENU = {
@ -52,6 +52,13 @@ TURRET_MENU = {
'RETURN': ["Return"]
}
MAIN_MSGS = (
'',
'',
'',
'Shutting Down.'
)
TURRET_MSGS = {
'TARGETING': ['Target Data Cleared. Exercise Caution.', '<!>Please Exercise Caution<!>'],
'ENABLED': ['Powering Down...', 'Booting...'],