From f49010c723aa42ee97cf780a6b24f2e8f9c1a444 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 18 Jul 2026 22:36:38 +0400 Subject: feat(runtime): apply mission script outcomes --- docs/appendices/script-vm.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/appendices/script-vm.md b/docs/appendices/script-vm.md index 107aa5a..0ae2e58 100644 --- a/docs/appendices/script-vm.md +++ b/docs/appendices/script-vm.md @@ -252,6 +252,13 @@ call. Those branches are not yet assigned Rust gameplay meanings. Reproduce the current evidence with `capture-ai-init.ps1` and `ExportIron3dAiCallback.java`. +Runtime now applies only this recovered branch as +`apply_loaded_script_host_callback`: `(0, 0, 0)` transitions a loaded mission +to `Failed`, `(0, 0, 1)` transitions it to `Completed`, and a repeated target +state is a no-op just as the Iron3D guards require. The effect is deliberately +separate from audio/UI playback; commands 1, 3, 4, 5 and mode 2 return +`Unhandled` until their consumers are recovered. + ### Handler(8): problem-record state write `Handler(8)` is the ninth VM-table entry at GOG `ai.dll` VA `0x10009b0d`. -- cgit v1.2.3