From 501779c19f5a86f0035683840f176d371abafc27 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 1 Dec 2026 22:08:37 +0400 Subject: fix(script): return the registered ID of a produced capturer The Mission handler now resolves the eligible warbot through the shared logical ID lookup. The original handler returns the registered roster ID. The Teleport regression reproduces the former stop with a newly registered eligible candidate, and the unmodified mission starts in the game window. --- docs/tomes/06-behavior.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/tomes/06-behavior.md') diff --git a/docs/tomes/06-behavior.md b/docs/tomes/06-behavior.md index 043fbaf4..985e0d89 100644 --- a/docs/tomes/06-behavior.md +++ b/docs/tomes/06-behavior.md @@ -3267,6 +3267,9 @@ FParkan использует исходный селектор клана раз результат равен `0xffffffff`. Это проверено изолированным запуском GOG `ai.dll` (SHA-256 `c19cd6cd31cd2896f8c4ba0f0e700dd3408aec8182daaf4863d98a7d233a2abc`). +Запрос возвращает ID из реестра клана, поэтому годится и машина, +которую добавили во время миссии. FParkan передаёт сценарному запросу +ID, выданный при выпуске. Он хранится у машины до её удаления. FParkan пока берёт размер штатного шасси по ключу прототипа согласно таблице GOG `Behavior.dll` по RVA `0xcee0` (SHA-256 указан ниже). -- cgit v1.2.3