apply_vehicle_assembly
Wire reusable vehicle control assemblies—engine start/idle, clutch, brake/reverse, or lights—to current part IDs, replacing existing drivers atomically in one undo step.
Instructions
Configure and wire a reusable control set-up (starter and idle, clutch, brake/reverse or lights) using explicit current part ids, instead of wiring each link with edit_connections. Existing drivers of the target inputs are replaced atomically. Clutch needs its own gate, separate from the idle throttle gate. Starter is manual/hold; idle is open-loop, and reverse must be selected while stopped. engine_start_idle takes one engine id or a list (twins share the throttle gate and starter). Returns the operations and a compact preflight (detail=true for all of it, preview=true for the diagnostic image); commit=true creates one undo step. Tune behaviour in game.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit | No | false (default) previews without changing the draft; true applies it as one undo step. | |
| design | Yes | Stored draft name (from import_vehicle, create_land_vehicle, store_design or save_hull; see list_designs). | |
| detail | No | true lists every check and each finding's repair operations; false (default) lists only faults, each once. | |
| options | No | Idle throttle, clutch deadband and hotkeys; defaults suit most builds. | |
| preview | No | true also returns the rendered preview image and the full build notes; false (default) returns a compact list of what changed, warnings and the new revision. | |
| assembly | Yes | Assembly to wire; list_vehicle_assemblies explains each. | |
| bindings | Yes | Current part ids from query_connections: driver seat, and the engine, gates, clutch, gearbox, wheels, lights or battery the assembly needs. | |
| revision | Yes | The draft's current revision from query_parts or query_connections; a stale one is rejected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assembly | Yes | ||
| bindings | Yes | ||
| revision | Yes | ||
| committed | Yes | ||
| preflight | Yes | ||
| operations | Yes | ||
| verification | Yes | ||
| base_revision | Yes |