Vehicle Scrapper
v1.1.0Adds a 'Scrap ALL Vehicles' button to the Vehicles Management window - retire your whole fleet in one click, with an easy undo.
- Source code
- No source provided
Ever want to retire an entire fleet at once - after a big vehicle-tier upgrade, a save cleanup, or just starting a new phase of the base? This adds two buttons to the Vehicles Management window (F6 -> Zones & assignments), right next to the vanilla 'New replacement task' panel:
'Scrap ALL Vehicles' sends every truck, excavator, tree harvester and tree planter you own to an assigned depot to be scrapped - the exact same action as clicking the 'scrap' button on one vehicle in a depot, just done for your whole fleet in a single click.
'Cancel All Scraps' calls back anything still on its way, before it actually arrives and gets destroyed.
Scrapping isn't instant - a vehicle still has to drive itself home first, so there's a real window to change your mind. The buttons use the game's own scrap command, so nothing else about your vehicles or save is touched. Ships and trains aren't affected - they don't use vehicle depots.
The same two actions are also available as console commands (scrap_all_vehicles, cancel_all_vehicle_scraps), for anyone who prefers those.
No announcements yet.
# Vehicle Scrapper — Changelog
All notable changes to this mod. Newest first. The mod `id` is `VehicleScrapperMod` and does not change between releases; only the version does. ## 1.1.0 - Added a real "Scrap ALL Vehicles" / "Cancel All Scraps" button pair to the Vehicles Management window, right next to the vanilla "New replacement task" panel - no console needed any more, though the console commands are still there for anyone who prefers them. - The buttons schedule the same ToggleVehicleScrapCmd vanilla's own per-vehicle scrap button uses, the officially safe way for a UI click to change game state in this engine (COI runs its simulation on a background thread - mutating a vehicle directly from a UI click handler would race it). The console commands were already safe as they were (the game's own console executor runs them on the sim thread by default), so those are unchanged. ## 1.0.0 - First release: scrap_all_vehicles and cancel_all_vehicle_scraps console commands.
This mod has no dependencies.
No other mods depend on this mod yet.