You will see that the shipyards will attack the resource collectors, but that they will do zero damage.
It could be that the test mod is too minimal, and that I am missing an important file. I’m not sure.
It also happens with probes and other non-combat ships. Could it be a family issue?
[edit]
Update. Forgot a file.
[edit]
The problem is not just with not taking damage, but with projectiles always missing. I also switched to the MS hull defense gun with no change in behavior.
[edit]
I ruled out it being a .ship file issue by saving the “hgn_mothership.ship” file over the “hgn_shipyard.ship” file (and making a few adjustments). Could the hull defense gun hardpoints be misaligned?