aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/robot_designer.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat(ui): build factory projects from a selected chassisValentin Popov3 days1-1/+10
| | | | | | Use researched chassis that fit the selected factory and populate a new Unit DAT from the chassis Control slots and stock default parts. The designer can remove the old chassis, preview the new model, edit its internal parts, and transfer it to the factory. Verified the stock start of Field Camp: remove S-12w, select S-31, install another battery, and queue the resulting project with Vulkan validation enabled.
* feat(ui): open saved warbot projects with distinct geometryValentin Popov3 days1-10/+12
| | | | Prepare saved Unit DAT geometry alongside factory reserves at mission entry and expose compatible, researched files through the designer. Verified a single-gun assembly in the Field Camp window and after factory release with the ore and power supply established in the test.
* fix(ui): validate warbot designs on transferValentin Popov3 days1-14/+33
| | | | Keep the selected model open on a failed research check and post the original central-computer message to the shared pager and history. Verified rejection and corrected production order in the Field Camp window with Vulkan validation.
* feat(ui): save and reopen warbot projectsValentin Popov3 days1-23/+146
| | | | 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.
* feat(ui): edit installed warbot equipmentValentin Popov3 days1-2/+262
| | | | Choose researched internal equipment per mount and build the resulting Unit DAT with the projected Control devices. Verified pointer selection and order in Field Camp with Vulkan validation, and produced the edited two-gun design at the Constructor factory.
* fix(ui): preserve native recent factory project orderValentin Popov3 days1-2/+68
|
* feat(factory): offer starter warbots on missions without designsValentin Popov4 days1-13/+190
| | | | Assemble compatible starter designs from local template layouts and the player clan technology table. Keep those layouts out of enemy factory fallback selection. The Constructor replay walked from spawn, captured the factory, ordered from the communicator, boarded the released warbot and won after capturing the hangar. The interactive constructor remains open.
* feat(factory): order schemes with selected internal partsValentin Popov9 days1-0/+250
On the stock Constructor map, walk to the factory communicator, claim it, order the revised scheme, and walk back outside. The released custom robot advances the production objective. Check that an unresearched part prevents a new custom order before it uses the free quota.