Reorganize mission menu and separate design from logic
This commit is contained in:
@@ -58,7 +58,7 @@ helper=body(provider,'protected void ConvoyAutoSetting(')
|
||||
for forbidden in ('StartConvoy','StartScenarioConvoy','Spawn','m_HQ.'):
|
||||
assert forbidden not in helper
|
||||
# Do not advertise this command-only setting as an editable field absent from the actual fixed menu.
|
||||
menu=body(ROOT/'addons/core/Scripts/Game/ERR/00_Core/ERR_AdminMenu.c','static array<string> Keys(')
|
||||
menu=body(ROOT/'addons/core/Scripts/Game/ERR/00_Core/ERR_AdminMenuFields.c','static array<string> Keys(')
|
||||
assert 'automaticConvoyEnabled' not in menu
|
||||
assert body(provider,'override bool Help(').count('replies.Insert(')<=5
|
||||
print('PASS: actual read migrates old valid settings, preserves explicit disabled state, rejects invalid data; next-round feedback and fixed menu remain honest')
|
||||
|
||||
Reference in New Issue
Block a user