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
+3 -3
View File
@@ -1,7 +1,7 @@
"""Execute actual gate method and document pre-inventory guard; no native/MP claim."""
from policy_harness import ROOT, body, run
unlock = body(ROOT/'addons/core/Scripts/Game/ERR/ERR_GameMode.c', 'bool UnlockPrison(')
recover = body(ROOT/'addons/core/Scripts/Game/ERR/ERR_DiscoveryService.c', 'protected void Recover(')
unlock = body(ROOT/'addons/core/Scripts/Game/ERR/00_Core/ERR_GameMode.c', 'bool UnlockPrison(')
recover = body(ROOT/'addons/core/Scripts/Game/ERR/00_Core/ERR_DiscoveryService.c', 'protected void Recover(')
# Run precisely the production admission prefix. Inventory is the observable
# boundary: rejected bodies must never inspect or spend their carried documents.
assert recover.count('InventoryStorageManagerComponent inventory') == 1
@@ -58,7 +58,7 @@ int main(){
print('PASS: actual gate and pre-inventory document guards reject noncanonical/faction/life/disconnect/server mismatches; canonical reconnect and unconscious carried intel preserved')
# Native probe safety contracts: actual engine behavior remains for the central run.
probe=(ROOT/'addons/core/Scripts/Game/ERR/ERR_NativeProgressionIdentityProbe.c').read_text()
probe=(ROOT/'addons/core/Scripts/Game/ERR/00_Core/ERR_NativeProgressionIdentityProbe.c').read_text()
assert probe.startswith('#ifdef WORKBENCH') and probe.rstrip().endswith('#endif')
assert probe.count('life.Actor = null;') == 2
for segment in probe.split('life.Actor = null;')[1:]: