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:
@@ -1,6 +1,6 @@
|
||||
"""Execute route result policy and audit opt-in finite/native fixture boundaries."""
|
||||
from policy_harness import ROOT, body, run
|
||||
P=ROOT/'addons/ai/Scripts/Game/ERR/ERR_NativeAircraftRouteProbe.c'
|
||||
P=ROOT/'addons/core/Scripts/Game/ERR/10_AI/ERR_NativeAircraftRouteProbe.c'
|
||||
source=P.read_text()
|
||||
rules='\n'.join(body(P,k) for k in ('static bool Terminal(', 'static bool TranslateProof(', 'static bool PhysicalFinish(', 'static bool CanDispose(')).replace('ERR_AircraftFlightState.','State::')
|
||||
run('''#include <cassert>
|
||||
@@ -61,7 +61,7 @@ for project,rounds,timeout,extra,message in cases:
|
||||
assert message in result.stderr, (project,rounds,timeout,extra,result.stderr)
|
||||
assert list(temporary.iterdir())==[], 'Refused route invocation must not create profiles or prefix locks'
|
||||
|
||||
chat=ROOT/'addons/chat/Scripts/Game/ERR/ERR_NativeSmoke.c'
|
||||
chat=ROOT/'addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeSmoke.c'
|
||||
text=chat.read_text()
|
||||
assert 'm_ERRTestAircraftRoute = outcome == "aircraft-route";' in text
|
||||
assert 'if (m_ERRTestAircraftControl || m_ERRTestAircraftRoute || m_ERRTestAircraftField) m_ERRSmokeDeadline = GetWorld().GetWorldTime() + 330000;' in text
|
||||
@@ -167,7 +167,7 @@ for sig in ('void PrepareActions(', 'void PrepareHelicopter('):
|
||||
print('PASS: actual retained-service fixture entry, immutable controller/token/deadline/count bindings, observer getter and cleanup ownership ordering; native route validation pending')
|
||||
|
||||
# Cancellation is a separate explicit variant; no arrival credit or second stop.
|
||||
flight=ROOT/'addons/ai/Scripts/Game/ERR/ERR_AircraftFlight.c'
|
||||
flight=ROOT/'addons/core/Scripts/Game/ERR/10_AI/ERR_AircraftFlight.c'
|
||||
cancel_rules='\n'.join(body(P,k) for k in ('static bool CanStop(', 'static bool CancelProof(')).replace('ERR_AircraftFlightState.','State::').replace('ERR_AircraftFlightRules.Hover','Hover')
|
||||
run('''#include <cassert>
|
||||
#include <cmath>
|
||||
|
||||
Reference in New Issue
Block a user