I've got a weird issue: I have a civilianized tanker and freighter and need them to spawn in a faction's markets in appropriate numbers. I've got them in default_ship_roles.json and the faction knows the ships, but the tanker spawns at an absurd rate- all but two or three of the civilian ship market's ships are the tanker, and the freighter won't spawn at all. However, this only applies to the civilian market- they show up in the correct number and proportion for military and black markets. Both ships have the relevant CIVILIAN and TANKER or FREIGHTER hints in ship_data.csv.
the ship ID's in question are apex_spectrum_civcargo, apex_spectrum_civfuel (the variants are apex_spectrum_hauler and apex_spectrum_tanker, respectively).
the relevant bits of default_ship_roles.json:
Spoiler
"tankerMedium":{
"apex_spectrum_tanker":5
},
"freighterMedium":{
"apex_spectrum_hauler":5
},
Edit: On further inspection, this appears to be an issue with role weighting somehow. Giving the faction access to base_bp produces a more reasonable ship distribution, but still does not spawn the cargo ship in the market. Presumably something to do with how the civilain market plugin is handling ship selection when the faction doesn't have a civilian ship in each role?