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:
2026-09-20 16:42:52 +02:00
parent 7d94953b53
commit cab998fb64
513 changed files with 18940 additions and 862 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
"""Actual native-end hook/shutdown/active bodies with engine boundaries substituted."""
from policy_harness import ROOT, body, run
SOURCE=ROOT/'addons/core/Scripts/Game/ERR/ERR_GameMode.c'
SOURCE=ROOT/'addons/core/Scripts/Game/ERR/00_Core/ERR_GameMode.c'
def cpp(s):
s=s.replace('protected override ', '').replace('protected ', '')
for a,b in [('Replication.','Replication::'),('ERR_MissionRules.','Rules::'),('ERR_Phase.','Phase::'),('ERR_ObserverReason.','Observer::'),('SCR_AIGroup.','SCR_AIGroup::'),('ERR_Actors.','ERR_Actors::'),('super.OnGameModeEnd(', 'NativeEnd(')]:s=s.replace(a,b)
@@ -89,7 +89,7 @@ assert hook.index('StopServices()') < hook.index('super.OnGameModeEnd(endData)')
assert 'Transition(' not in hook and 'EndGameMode(' not in hook
assert 'm_Extraction.' not in hook and 'EndGameData.Create' not in hook
assert 'if (!m_NativeEndHandled) EndGameMode(' in body(SOURCE,'bool Transition(')
probe=(ROOT/'addons/core/Scripts/Game/ERR/ERR_NativeEndProbe.c').read_text()
probe=(ROOT/'addons/core/Scripts/Game/ERR/00_Core/ERR_NativeEndProbe.c').read_text()
assert probe.startswith('#ifdef WORKBENCH')
assert probe.count('ERR SMOKE COMPLETE:')==1 and probe.count('EndGameMode(m_ERREndData)')==1
assert 'super.OnGameModeEnd' not in probe