From e50b53e7a08d8b5e3393e477b890da95c4c8ef2a Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 2 Dec 2026 08:50:33 +0400 Subject: feat(ui): install turrets and weapons in designer sockets Read the chassis and turret mount families from MSH Res10 and the attached devices from CTLD. Preserve the parent and mount node in Unit DAT, including separate ammunition subtrees for matching weapons. Verified from the stock Field Camp start: install a turret, mount two identical guns, remove one with its ammunition, and order the edited project through the factory panel. --- crates/fparkan-runtime/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/fparkan-runtime/src/lib.rs') diff --git a/crates/fparkan-runtime/src/lib.rs b/crates/fparkan-runtime/src/lib.rs index 20f2d87c..bb560d91 100644 --- a/crates/fparkan-runtime/src/lib.rs +++ b/crates/fparkan-runtime/src/lib.rs @@ -138,6 +138,7 @@ mod weapon_resupply; pub use projectile_shield::{ collect_shield_impacts, shield_effect_sources, take_shield_impacts, ShieldImpact, }; +mod designer_attachments; mod designer_chassis; mod repair_system; mod repair_zone; @@ -181,6 +182,7 @@ pub use boarding::{ }; pub use building_door::{has_proximity_doors, sample_capture_doors, sample_proximity_doors}; pub use capture_barrier::sample_capture_barrier; +pub use designer_attachments::{edit_factory_socket, factory_socket_choices}; pub use designer_chassis::{factory_chassis_choices, prepare_factory_chassis}; pub use fparkan_assets::MissionAssets; pub use mesh_collision::{query_building_segment_world, BuildingMeshHit, BuildingMeshNode}; -- cgit v1.2.3