Add configurable crash-site salvage; record Workshop 0.0.146
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-11-06 23:26:57 +01:00
parent 8b1c3cf88a
commit a7452f8be6
47 changed files with 2154 additions and 13 deletions
+4
View File
@@ -34,6 +34,10 @@ def check():
subprocess.run([sys.executable,str(ROOT/'tests/test_rescue_recovery.py')],check=True)
subprocess.run([sys.executable,str(ROOT/'tests/test_casualty_fleet.py')],check=True)
subprocess.run([sys.executable,str(ROOT/'tests/test_plane_boarding.py')],check=True)
subprocess.run([sys.executable,str(ROOT/'tests/test_crash_sites_lifecycle.py')],check=True)
subprocess.run([sys.executable,str(ROOT/'tests/test_crash_loot_plan.py')],check=True)
subprocess.run([sys.executable,str(ROOT/'tests/test_crash_random_loot.py')],check=True)
subprocess.run([sys.executable,str(ROOT/'tests/test_crash_stock_lifecycle.py')],check=True)
subprocess.run([sys.executable,str(ROOT/'tests/test_civilian_traffic.py')],check=True)
subprocess.run([sys.executable,str(ROOT/'tests/test_garage_vehicle_rules.py')],check=True)
subprocess.run([sys.executable,str(ROOT/'tests/test_garage_vehicle_observers.py')],check=True)
+8
View File
@@ -3,6 +3,14 @@
import argparse,json,os,tempfile,sys
from pathlib import Path
SCHEMA={
'crashLootMode':(1,0,1),
'crashSiteCount':(3,0,12),
'crashHelicopterChancePercent':(50,0,100),
'crashRifleCount':(3,1,6),
'crashMagazineCount':(4,1,8),
'crashAntiAirChancePercent':(25,0,100),
'crashRocketChancePercent':(50,0,100),
'telemetryEnabled':(1,0,1),
'aiDoctrine':(0,0,1),
'aiShadow':(0,0,1),