From a09bc5526cb8f5a38099c5c0bc2b6bb4b47ddfda Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 25 Nov 2026 18:21:40 +0400 Subject: feat(research): unlock dependent and zero-cost technologies Apply MisLoad's enabled/available/learned flag transitions after laboratory completion. Scan every enabled unavailable row against all prerequisites, then follow Behavior's ordered zero-cost child completion. Publish learned descendants to construction and production and replace the unlock stub with per-clan availability counters. Direct calls to original MisLoad.dll 0x2c10 and Behavior.dll 0x23aa0 confirm flag preservation, disabled prerequisites, positive/negative cost exclusion, and free child recursion. Licensed table checks cover the stock first AI project and a project with two automatic child technologies. The first stock AI project opens no additional rows in either implementation. Workspace fmt/check/tests, licensed laboratory regression, 29 stock missions at 900 seconds and a stock Vulkan window check pass. This removes the completion coverage gap needed by the next research-policy task; it does not establish full project chaining or live AI chronology. Handlers 65/69 remain explicit stubs. --- crates/fparkan-assets/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/fparkan-assets/src/lib.rs') diff --git a/crates/fparkan-assets/src/lib.rs b/crates/fparkan-assets/src/lib.rs index 9ddf41ea..f9dbebe4 100644 --- a/crates/fparkan-assets/src/lib.rs +++ b/crates/fparkan-assets/src/lib.rs @@ -37,7 +37,7 @@ pub use chassis_profile::decode_chassis_can_fly; mod research; pub use research::{ calc_full_research_cost, research_project_rows, ResearchCandidate, ResearchCandidateSet, - ResearchCost, ResearchError, ResearchTrfDocument, + ResearchCompletion, ResearchCost, ResearchError, ResearchTrfDocument, }; use std::collections::{hash_map::Entry, HashMap}; use std::fmt; -- cgit v1.2.3