Capture current mission, AI, map and administration development
Include the current addon, terrain integrations, tools, regression tests and recorded development evidence.
This commit is contained in:
@@ -29,7 +29,11 @@ int main(){
|
||||
'''.replace('METHOD',s))
|
||||
assert 'Transition(' not in s and 'SetOrigin(' not in s
|
||||
mode=REPO/'addons/core/Scripts/Game/ERR/00_Core/ERR_GameMode.c'
|
||||
tick=body(mode,'protected void ServerTick(')
|
||||
assert 'if (m_Command && m_Phase >= ERR_Phase.RADIO_SEARCH) m_Command.Tick(now);' in tick
|
||||
assert 'if (m_Phase >= ERR_Phase.RADIO_SEARCH) TickForces(now);' in tick
|
||||
wrapper=body(mode,'protected void ServerTick(')
|
||||
assert 'if (!Replication.IsServer() || !Active()) return;' in wrapper and 'ServerTickMeasured();' in wrapper
|
||||
tick=body(mode,'protected void ServerTickMeasured(')
|
||||
command_gate=body(mode,'if (m_Command && m_Phase >= ERR_Phase.RADIO_SEARCH)')
|
||||
assert 'm_Command.Tick(now);' in command_gate and tick.count('m_Command.Tick(now);')==1
|
||||
force_gate=body(mode,'if (m_Phase >= ERR_Phase.RADIO_SEARCH)')
|
||||
assert 'TickForces(now);' in force_gate and tick.count('TickForces(now);')==1
|
||||
print('PASS: actual inventory-fixture setup uses ordinary prison unlock before constructing its convoy-waiting probe; failed unlock cannot run fixture')
|
||||
|
||||
Reference in New Issue
Block a user