I've been working on expanding the services available at shipyards. Previously, modules purchased at a port were handled as direct upgrades, but I wanted to make equipment management a little more involved.
With this update, modules are now physical cargo items that need to be transported to a shipyard before they can be installed. This also gives me an opportunity to expand the shipyard's role in fleet management, rather than having it function exclusively as a place to repair ships.
Module Storage
Modules are now stored in individual ships' cargo holds and take up one cargo space each. This means players need to consider where their equipment is stored and which ships have enough room to transport it.
Modules can be transferred between ships using the existing cargo transfer system. They can also be lost if the ship carrying them is destroyed, so transporting valuable equipment comes with some risk.
Purchasing modules at a port now adds them to the fleet's cargo instead of immediately installing them on a selected ship. This allows players to purchase equipment at one location and transport it to a different shipyard if necessary.
Installing Modules
Installing a module is now a dedicated shipyard service.
When a ship is docked, players can speak with the shipyard foreman to request an installation. The foreman will list all available modules in the fleet's cargo, as well as any modules stored aboard the docked ship.
Each installation requires a small fee and two in-game days by default. Both values are configurable through the game's economy settings, and should be a fun lever to pull when balancing - players may want to buy unique modules “abroad“, but take them home for a cheaper install.
Right now, module installs lock a ship out until complete. Players will have to carefully weigh whether the time or lack of combat power is worth the boost...
Module Slots
Ships have a limited number of module slots, and an installation requires an available slot.
There aren't currently any module size or compatibility restrictions, so any module can be installed on any ship, provided it has room. However, modules cannot be removed once installed.
This makes module selection a somewhat permanent decision. Players will need to consider which ships benefit most from particular modules before committing to an installation.
What's Next?
This implementation covers module storage, transferring equipment between ships, and installing modules at a shipyard. There's still some work to do on the port's inventory and cargo management systems.
In particular, I want to add the ability to rearrange cargo when a ship's storage is full, as well as an option to jettison unwanted items. These changes should make it easier to manage equipment and supplies without having to work around storage limitations.
More updates to the port and shipyard systems will follow as development continues.