aboutsummaryrefslogtreecommitdiff
path: root/apps/fparkan-game/src/script_coverage.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat(ai): build battle robots from clan factory scriptsValentin Popov2026-11-141-0/+9
| | | | Route the construct order from PBM_ROBOT_NEEDED into shared factory ownership, free quota, and paid production. Stock Single.01 builds an enemy robot at 27 seconds in the fixed-step report and about 27.4 seconds in the Vulkan window. Count accepted and rejected orders by clan and factory; configured prebuild selection and the global order slot remain approximations.
* feat(ai): start the highest-priority clan script problemValentin Popov2026-11-141-0/+3
| | | | Open the matching Start section after Problems0, expose its arguments, and support completion and unreserved placed-unit selection. Two Fortresses enters its laboratory job and reaches Handler(6). Timing, ties and continuation remain explicit approximations.
* feat(ai): queue clan script problems by native identityValentin Popov2026-11-141-0/+3
| | | | Pass Handler(2) operands through the existing scheduler and require matching script sections. The stock Two Fortresses clan queues research, transport, and robot problems before its combat-strength query. Pending dispatch is counted by clan and problem kind.
* feat(script): query clan storage and follow forward jumpsValentin Popov2026-11-141-2/+4
| | | | Use live storage capacity for Handler(16), expose the unbound research policy as a counted Handler(56) stub, and honor forward control-3 jumps. Checked storage arithmetic, flag truthiness and raw jump behavior by calling ai.dll. Stock Single.01 now reaches problem submission.
* fix(ai): report unloaded research status during problem checksValentin Popov2026-11-141-0/+3
| | | | Handler(65) can continue with the native unloaded-catalog result, with an explicit per-clan count. A direct ai.dll call confirms the unloaded and no-table guards. Single.01 now reaches the float resource result.
* feat(ai): dispatch periodic clan problem scriptsValentin Popov2026-11-141-1/+12
| | | | Runs the supported Problems0 prefix for AI clans and counts every stop by clan, event and instruction. Single.01 now reaches the native scenario body and identifies Handler(49) as the next unsupported command. Existing defensive behavior remains active.
* fix(script): continue clan Init past the research stubValentin Popov2026-11-141-0/+19
Оставляем строгую загрузку прежней. В игровом режиме команда без результата отмечена по клану и номеру инструкции, следующие команды исполняются. На штатных ресурсах все 29 миссий запускаются, 12 вызовов дошли до заглушки, а Single.01 завершила Init без обрыва.