1package com.fs.starfarer.api.impl.hullmods;
3import com.fs.starfarer.api.combat.BaseHullMod;
4import com.fs.starfarer.api.combat.MutableShipStatsAPI;
5import com.fs.starfarer.api.combat.ShipAPI;
6import com.fs.starfarer.api.combat.ShipAPI.HullSize;
7import com.fs.starfarer.api.impl.campaign.ids.Stats;
21 if (index - startIndex == 0) {
48 if (index == 0)
return "" + (int) Math.round((1f - armorMult) * 100f) +
"%";
49 if (index == 1)
return "" + (int) Math.round((1f - hullMult) * 100f) +
"%";
void modifyMult(String source, float value)
void modifyMult(String source, float value)
static final String DMOD_EFFECT_MULT
static final String DMOD_REDUCE_MAINTENANCE
static String getCostDescParam(int index, int startIndex)
static void modifyCost(HullSize hullSize, MutableShipStatsAPI stats, String id)
static float ARMOR_PENALTY_MULT
void applyEffectsBeforeShipCreation(HullSize hullSize, MutableShipStatsAPI stats, String id)
static float HULL_PENALTY_MULT
static float DEPLOYMENT_COST_MULT
String getDescriptionParam(int index, HullSize hullSize, ShipAPI ship)
StatBonus getArmorBonus()
MutableStat getSuppliesPerMonth()
DynamicStatsAPI getDynamic()
MutableStat getSuppliesToRecover()
MutableShipStatsAPI getMutableStats()
float getValue(String id)