is there a limit to amount of abilities that a player can have? my mod attempts to add abilities but certain players don't see it in their ability menu.
i use onGameLoad to add ability if player doesn't have it.
if (!Global.getSector().getPlayerFleet().hasAbility("viewprisoners")) {
Global.getSector().getPlayerFleet().addAbility("viewprisoners");
}
a player used runcode $print(Global.getSector().getPlayerFleet().hasAbility("viewprisoners")) which printed false
a player has tried to use runcode Global.getSector().getPlayerFleet().addAbility("viewprisoners"); but it still did not appear, and the command above returned false as well afterwards
the same person has tried to print the spec ( runcode $print(Global.getSettings().getAbilitySpec("viewprisoners")) ) which printed out a non-null answer (com.fs.starfarer.loading.specs.super@2381ebfc)
so the spec exists, the onGameLoad should add it, we tried to add it on demand, but no matter what some players still don't get it.
the only notable thing is the player has 21 abilities available to select, which is obviously a lot more than vanilla. the same player removed all of their mods except mine, and the ability added fine without any other mods that add abilities.