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 @@
|
||||
Native probe separately exercises the direct locked-door boundary and destroyed gate.
|
||||
"""
|
||||
from policy_harness import ROOT, body, run
|
||||
path=ROOT/'addons/core/Scripts/Game/ERR/ERR_PrisonEscapeService.c'
|
||||
path=ROOT/'addons/core/Scripts/Game/ERR/00_Core/ERR_PrisonEscapeService.c'
|
||||
functions='\n'.join(body(path,s) for s in ('static bool Inside(', 'static bool Continuous(', 'static bool Registration(', 'static bool Grounded(', 'static bool Crossing(')).replace('Math.AbsFloat','std::abs')
|
||||
run('''#include <cassert>
|
||||
#include <cmath>
|
||||
@@ -47,7 +47,7 @@ print('PASS: actual prison registration/crossing policies reject missing/duplica
|
||||
|
||||
# Actual action bodies, with only native type/member syntax adapted to C++.
|
||||
# This tests direct execution, not merely a duplicate availability predicate.
|
||||
action_path=ROOT/'addons/core/Scripts/Game/ERR/ERR_Actions.c'
|
||||
action_path=ROOT/'addons/core/Scripts/Game/ERR/00_Core/ERR_Actions.c'
|
||||
class ActionSource:
|
||||
def read_text(self):
|
||||
source=action_path.read_text()
|
||||
|
||||
Reference in New Issue
Block a user