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:
@@ -26,9 +26,18 @@ assert 'seat.GetOccupant() == actor' in s and 'agents.Count() == expected' in s
|
||||
assert 'record.Id == m_Task.Receipt.Records[i]' in s
|
||||
assert '!operation.Succeeded' in s and 'm_CargoBefore.Contains(item)' in s
|
||||
assert 'rifles == 8 && magazines >= 48' in s and 'CommittedBodies() <= 60' in s
|
||||
assert 'm_InitialLedger + 6' in s and s.count('!hq.StartConvoy()')==2
|
||||
assert 'm_InitialLedger + 5' in s and s.count('!hq.StartConvoy()')==2
|
||||
smoke=(ROOT/'addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeSmoke.c').read_text()
|
||||
assert 'm_ERRTestConvoy = outcome == "convoy"' in smoke and 'm_ERRSmokeStep = 106' in smoke
|
||||
# Both convoy variants must enter the normal running phase before waiting for
|
||||
# mortar StartupActivated; otherwise the command tick is paused in prison.
|
||||
branch=smoke[smoke.index('if (m_ERRTestConvoy)', smoke.index('if (m_ERRSmokeStep == 0)')):]
|
||||
branch=branch[:branch.index('m_ERRSmokeStep = 106;')]
|
||||
assert branch.count('UnlockPrison(m_ERRSmokePlayer)')==1
|
||||
# Prevent unrelated opening hunters before the capped legacy convoy is admitted.
|
||||
assert branch.count('ERR_HQ.Get().Hunters().Stop()') == 1
|
||||
assert branch.index('ERR_HQ.Get().Hunters().Stop()') < branch.index('UnlockPrison(m_ERRSmokePlayer)')
|
||||
assert branch.index('UnlockPrison(m_ERRSmokePlayer)') < branch.index('if (convoyOutcome == "supply-convoys")')
|
||||
runner=ROOT/'tools/headless_workbench.py'
|
||||
for extra in (['--project','core','--rounds','1','--timeout','600'],
|
||||
['--project','chat','--rounds','2','--timeout','600'],
|
||||
|
||||
Reference in New Issue
Block a user