Gate radio intel behind configurable site discovery; record Workshop 0.0.119
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -26,6 +26,7 @@ def check():
|
||||
subprocess.run([sys.executable,str(ROOT/'tests/test_hunter_tactics.py')],check=True)
|
||||
subprocess.run([sys.executable,str(ROOT/'tests/test_hunter_recovery_wait.py')],check=True)
|
||||
subprocess.run([sys.executable,str(ROOT/'tests/test_intel_cleanup.py')],check=True)
|
||||
subprocess.run([sys.executable,str(ROOT/'tests/test_radio_intel.py')],check=True)
|
||||
subprocess.run([sys.executable,str(ROOT/'tests/test_hunter_gun_team.py')],check=True)
|
||||
subprocess.run([sys.executable,str(ROOT/'tests/test_hunter_coordination.py')],check=True)
|
||||
subprocess.run([sys.executable,str(ROOT/'tests/test_attack_coordination.py')],check=True)
|
||||
|
||||
@@ -23,6 +23,7 @@ SCHEMA={
|
||||
'responseRadiusMetres':(2000,500,5000),
|
||||
'aiIntelChancePercent':(60,0,100),
|
||||
'intelRevealChancePercent':(15,0,100),
|
||||
'radioIntelSiteCount':(5,0,20),
|
||||
'showAllSites':(0,0,1),
|
||||
'radioDefenceSeconds':(180,30,1800),
|
||||
'startTimeMinutes':(840,0,1439),
|
||||
@@ -38,7 +39,7 @@ SCHEMA={
|
||||
'heliTimerMinutes':(15,1,1440),
|
||||
}
|
||||
AI_KEYS=('droneReconCount','droneCooldownSeconds','aiDoctrine','aiShadow','planeAltitudeMetres','planeReplacementSeconds','planeSectorSeconds','planeReconEnabled','reportIntervalSeconds','supportSquadLimit','responseRadiusMetres','automaticEquipmentChancePercent','antiAirChancePercent','antiPersonnelMineChancePercent','automaticConvoyEnabled','heliTimerMinutes')
|
||||
INTEL_KEYS=('aiIntelChancePercent','intelRevealChancePercent','showAllSites')
|
||||
INTEL_KEYS=('aiIntelChancePercent','intelRevealChancePercent','radioIntelSiteCount','showAllSites')
|
||||
def merge(ai=None,intel=None):
|
||||
result={key:spec[0] for key,spec in SCHEMA.items()};deferred=[]
|
||||
for label,data,keys in [('ai',ai,AI_KEYS),('intel',intel,INTEL_KEYS)]:
|
||||
|
||||
Reference in New Issue
Block a user