Okay, still happens despite the hull mod description being plaintext. Crashes to desktop when I try to change hullmods in dev mode in the variant edit menu or in missions. I think it's related to the hull-mod being built into the ships but still appearing in the hull mods menu.
This is the hull mod itself:
package data.hullmods;
import com.fs.starfarer.api.combat.MutableShipStatsAPI;
import com.fs.starfarer.api.combat.ShipAPI.HullSize;
public class BlackrockFlux extends BaseHullMod {
public static final float VENT_RATE_BONUS = 100f;
public void applyEffectsBeforeShipCreation(HullSize hullSize, MutableShipStatsAPI stats, String id) {
stats.getVentRateMult().modifyPercent(id, VENT_RATE_BONUS);
}
public String getDescriptionParam(int index, HullSize hullSize) {
if (index == 0) return "" + (int) VENT_RATE_BONUS;
return null;
}
}
And in hullmods.csv, it's not set to unlocked: true and so forth. Basically this hullmod is supposed to just be a part of the ships and to be unattainable in any other way. Ideally it would never show up in menus either. What gives?
EDIT: Actually, it seems like a conflict between mods. I disabled one and now I cant reproduce it... hmmm.