Add 'Shutting Down.' message to main menu, matches in-game. Adjust wording of exit function, to match in-game
This commit is contained in:
parent
fc03ce4ffd
commit
860f43f4ed
2 changed files with 9 additions and 2 deletions
|
@ -38,7 +38,7 @@ try:
|
||||||
sleep(0.2)
|
sleep(0.2)
|
||||||
sel = 0
|
sel = 0
|
||||||
while sel != 3:
|
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():
|
while not queueIsEmpty():
|
||||||
sleep(0.2)
|
sleep(0.2)
|
||||||
if sel == 0:
|
if sel == 0:
|
||||||
|
|
|
@ -37,7 +37,7 @@ MAIN_MENU = (
|
||||||
'Lock Control',
|
'Lock Control',
|
||||||
'Turret Control',
|
'Turret Control',
|
||||||
'Read Log',
|
'Read Log',
|
||||||
'Logoff Terminal'
|
'Log out'
|
||||||
)
|
)
|
||||||
|
|
||||||
LOCK_MENU = {
|
LOCK_MENU = {
|
||||||
|
@ -52,6 +52,13 @@ TURRET_MENU = {
|
||||||
'RETURN': ["Return"]
|
'RETURN': ["Return"]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MAIN_MSGS = (
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'Shutting Down.'
|
||||||
|
)
|
||||||
|
|
||||||
TURRET_MSGS = {
|
TURRET_MSGS = {
|
||||||
'TARGETING': ['Target Data Cleared. Exercise Caution.', '<!>Please Exercise Caution<!>'],
|
'TARGETING': ['Target Data Cleared. Exercise Caution.', '<!>Please Exercise Caution<!>'],
|
||||||
'ENABLED': ['Powering Down...', 'Booting...'],
|
'ENABLED': ['Powering Down...', 'Booting...'],
|
||||||
|
|
Loading…
Reference in a new issue