Even that was not true because of a bug in that exclusion code. incompatible equipment was only removed from the selection list, but the code still proceeded with the already selected incompatible equipment and added it to the ship.Eric Walch wrote:A bug still left is that preinstalled equipment on the buy screen is still validated. But that should already be validated before showing up. Currently there is only a check for incompatible equipment so you won't get a ship pre-fitted with two incompatible items.
Anyhow, it bothered me knowing that equipment with missing dependencies could be preinstalled in ships on the shipyard. I now added checks for "requires_equipment", "requires_any_equipment" and fixed the check for "incompatible_with_equipment". And tested all versions, as apparently the existing "incompatible_with_equipment" check was never tested for the shipyard.
(Fixed in r4601)