aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/mining.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat(ai): find and reserve sites for scripted constructionValentin Popov2026-11-141-1/+1
| | | | Handler 18 scans base rings, checks terrain and clearance, and writes the site back to the script. The stock Two Fortresses window found a tower site and reached the builder order. The native DLL returned the expected site with and without a reservation, and zero for missing areas. The builder task remains explicit in coverage.
* feat(ai): let clan scripts resume mining at existing shaftsValentin Popov2026-11-141-1/+32
| | | | Handle the free-mine lookup and the mine order in Problems0. Preserve a live shaft's deposit binding, claim nearby free reserves, and leave neighboring live shafts alone. Stock Single.02 now reaches the mine limit check instead of stopping on the lookup.
* fix(mining): feed placed mines from nearby depositsValentin Popov2026-11-141-10/+122
| | | | Bind stock mines to TMA reserves within the Behavior collection radius and report the live clan reserve to Problems0. Verified extraction from stock Single.01 and preserved the Field Camp mine order. Single.01 reaches Handler(56) in the 120-second report and renders with clean Vulkan validation.
* feat(runtime): deploy mines and supply ore to factoriesValentin Popov2026-11-141-0/+252