Add optional shoreline Motorboats and recommended addon controls
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -29,7 +29,7 @@ def navigation(source, tokens):
|
||||
if (len(members) != len(set(members)) or set(members) != keys.keys()
|
||||
or len(set(names)) != len(names)
|
||||
or any(not re.fullmatch(r'[A-Za-z][A-Za-z0-9]*', n) for n in names)
|
||||
or any(not 1 <= len(g['pages']) <= 8 for g in groups)):
|
||||
or any(not 1 <= len(g['pages']) <= 9 for g in groups)):
|
||||
raise ValueError('Every page must belong to exactly one valid sidebar group')
|
||||
for page in pages:
|
||||
if not isinstance(page['label'], str) or any(c in page['label'] for c in '\n\r"\\'):
|
||||
|
||||
@@ -34,6 +34,8 @@ 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_shore_map.py')],check=True)
|
||||
subprocess.run([sys.executable,str(ROOT/'tests/test_shore_boats.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)
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
import argparse,json,os,tempfile,sys
|
||||
from pathlib import Path
|
||||
SCHEMA={
|
||||
'shoreBoatCount':(6,0,16),
|
||||
'shoreBoatChancePercent':(20,0,100),
|
||||
'shoreBoatCrossingChancePercent':(70,0,100),
|
||||
|
||||
'crashLootMode':(1,0,1),
|
||||
'crashSiteCount':(3,0,12),
|
||||
'crashHelicopterChancePercent':(50,0,100),
|
||||
|
||||
Reference in New Issue
Block a user