diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-25 16:04:13 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-25 16:04:13 +0300 |
| commit | a4a9b7a6478c9c1efcf0aef8b37464dc0e5b339e (patch) | |
| tree | 65ed3d52be7bd52206bb6efe379ce54a3006ba0d /docs/appendices | |
| parent | e6065cd43f6c8a7091c01c04629f92248f72d865 (diff) | |
| download | fparkan-a4a9b7a6478c9c1efcf0aef8b37464dc0e5b339e.tar.xz fparkan-a4a9b7a6478c9c1efcf0aef8b37464dc0e5b339e.zip | |
feat(ai): resupply scripted builders before construction
Use the native Building_Cost threshold to start loading from the nearest
owned mine or warehouse. Transfer ore at the stock 100 units/second up to
the design price, then resume the reserved building task. Mines bypass
loading; direct construction can preserve native negative ore after payment.
Execute Behavior.dll's config constructor, start, source selection, loading
tick and resource setter in an x86 oracle. Keep exterior docking and custom
Behavior configuration explicit approximations, counted per builder/source.
The stock Single.02 regression now reaches another completed building after
resupply without changing mission objects or resources. Validate fmt/check/
workspace tests, licensed construction and debt regressions, all 29 stock
missions for 900 seconds, and mission 29 in a Vulkan-validation window.
Diffstat (limited to 'docs/appendices')
| -rw-r--r-- | docs/appendices/knowledge-boundaries.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/appendices/knowledge-boundaries.md b/docs/appendices/knowledge-boundaries.md index 02df73e1..7b315a37 100644 --- a/docs/appendices/knowledge-boundaries.md +++ b/docs/appendices/knowledge-boundaries.md @@ -490,8 +490,10 @@ ID выпущенной машины внутренний. Подъезд, выÐ Источник — обычные залежи TMA и текущая привязка шахт в радиусе 250; нативные ареальные записи ещё открыты. Сценарный приказ уже доходит до постройки и добычи. `script_building_order_approx` и `script_building_rejected` учитывают приказы -строителям: шахта, башни, склад, завод и лаборатория с рудой на борту. -Подвоз руды, прочие строения, фундамент +строителям: шахта, башни, склад, завод и лаборатория. +`script_builder_supply_approx` считает пополнения по клану, строителю и источнику. +Пороги и перенос руды используют штатные параметры DLL; подъезд к порту +приближённый, загрузка изменённых параметров Behavior открыта. Прочие строения, фундамент и боевое поведение новой башни открыты. Разные заводы могут собирать одновременно. `script_factory_rejections` считает отклонения по клану и заводу. |
