Combine Workshop addon and fix prison startup
Merge owned systems into one addon while preserving resource identities. Gate player admission on the replicated prison scene, restore the original framed door, and hold enemy AI until escape. Correct scenario branding and author metadata, include publishing assets, and retain regression and native verification evidence.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import os,re
|
||||
from policy_harness import ROOT, body, run
|
||||
from pathlib import Path
|
||||
p=Path(os.environ.get('ERR_CONVOY_ROAD_PLAN',str(ROOT/'addons/ai/Scripts/Game/ERR/ERR_ConvoyRoadPlan.c')))
|
||||
p=Path(os.environ.get('ERR_CONVOY_ROAD_PLAN',str(ROOT/'addons/core/Scripts/Game/ERR/10_AI/ERR_ConvoyRoadPlan.c')))
|
||||
code='\n'.join(body(p,s) for s in ('static bool Sample(', 'static bool CandidateStart(', 'static bool FromPolyline(', 'static bool Prefer('))
|
||||
code=re.sub(r'//[^\n]*','',code)
|
||||
code=code.replace('out array<vector>','Array<vector>&').replace('array<vector>','Array<vector>')
|
||||
|
||||
Reference in New Issue
Block a user