Started implementing ship strategies to allow different behaviors per ship. Created a Strategy component in the settings to configure ship behavior. Ships can now be set to either “trade” (the existing automated trading) or “halt” (stop all activity).

Reorganized the ship machines into a Ship folder with separate files: tradeMachine.ts for trading logic, haltMachine.ts for idle ships, and spawnShipMachine.ts for the spawning logic. Added a ShipBaseContext type for shared context between strategies.

Added spread calculation to the markets view - showing the difference between buy and sell prices for each good. Fixed a bug where ships would try to buy research goods that can’t be traded.

Various tuning: reduced MAX_CARGO_MOVE to 300, set ship purchase threshold to 100,000 credits, and added error handling for failed ship purchases. Also fixed trades table display on small screens.