aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/lib.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-12-02 05:38:48 +0300
committerValentin Popov <valentin@popov.link>2026-12-02 05:38:48 +0300
commitca1828fc869aaeb72df00c642f918a7723c84df4 (patch)
tree1a16cb74faad26cc652dec2dce2efc64bda3f2ad /crates/fparkan-runtime/src/lib.rs
parent6fde1faa1dfed89007566b3373114a89139390b9 (diff)
downloadfparkan-ca1828fc869aaeb72df00c642f918a7723c84df4.tar.xz
fparkan-ca1828fc869aaeb72df00c642f918a7723c84df4.zip
feat(ui): save and reopen warbot projects
Use original designer art and names for named Unit DAT files. Restore researched designs onto the prepared mounts of a compatible factory scheme. Verified saving, restoring and ordering from the Field Camp window, and production after decoding the saved design in the Constructor.
Diffstat (limited to 'crates/fparkan-runtime/src/lib.rs')
-rw-r--r--crates/fparkan-runtime/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/fparkan-runtime/src/lib.rs b/crates/fparkan-runtime/src/lib.rs
index b72be05c..3a0d7c79 100644
--- a/crates/fparkan-runtime/src/lib.rs
+++ b/crates/fparkan-runtime/src/lib.rs
@@ -211,8 +211,8 @@ pub use projectile_parts::{depleted_chassis_nodes, depleted_warbot_nodes};
pub use repair_system::toggle_self_repair;
pub use research::{at_research_laboratory, order_lab_research};
pub use robot_designer::{
- factory_design_parts, load_gameplay_mission, load_gameplay_mission_with_build_parts,
- FactoryPartChange,
+ factory_design_bytes, factory_design_parts, load_gameplay_mission,
+ load_gameplay_mission_with_build_parts, restore_factory_design, FactoryPartChange,
};
pub use unit_combat::{
autonomous_firing_effect_phases, AutoDemoCombatEvent, AutoDemoProjectileType,