Alex, now that the new sanity checks on respeccing previously permanent skills are going to be in place, is there something similar modders can do for skills which grant increased OP on ships?
Like anything which checks if a ships has more assigned OP than it's total and makes players remove vents/caps/weaps/hullmods/wings?
It's possible to add custom "skill change effects". But for this, you probably wouldn't actually need to - I've added one to vanilla, even though it doesn't need it. If a skill adds OP and is removed, ships that are over OP will have vents, capacitors, and hullmods (though not weapons/fighters - that gets tricky since they need to go somewhere, and it can't always be cargo or storage) removed.
I am making a new faction and would like to change the way its ships and officers are named.
Specifically, I would like names to be randomly generated from a set of syllables (instead of selected from a fixed list, as is done currently). Can this be done?
I have found com.fs.starfarer.api.impl.campaign.procgen.MarkovNames which seems somewhat related to this, but it is unused.
A few ways. The simplest would be to pre-generate your set of names with some code and paste that into the faction file. If you don't have too many syllables per name/too many syllables, that might be manageable.
A (probably better?) alternative would be to provide your own FleetInflater implementation (via CampaignPlugin.pickFleetInflater()) that does this in code. You'd likely want to extend DefaultFleetInflater and let it do most of the actual work, and only do the naming-related bits in yours.
I probably wouldn't use MarkovNames for this - it sounds like a different approach you'd want custom code for.