1package com.fs.starfarer.api.impl.hullmods;
3import com.fs.starfarer.api.Global;
4import com.fs.starfarer.api.combat.BaseHullMod;
5import com.fs.starfarer.api.combat.ShipAPI;
6import com.fs.starfarer.api.impl.campaign.ids.HullMods;
7import com.fs.starfarer.api.impl.campaign.ids.Stats;
8import com.fs.starfarer.api.loading.HullModSpecAPI;
26 if (max == 1) text =
"one";
27 else if (max == 2) text =
"two";
28 else if (max == 3) text =
"three";
29 else if (max == 4) text =
"four";
34 return "Maximum of " + text +
" non-built-in \"Logistics\" hullmods per hull";
36 return "Maximum of " + text +
" non-built-in \"Logistics\" hullmods for this hull";
39 return super.getUnapplicableReason(ship);
51 return super.isApplicableToShip(ship);
static SettingsAPI getSettings()
float computeEffective(float baseValue)
static final String TAG_UI_LOGISTICS
static final String MAX_LOGISTICS_HULLMODS_MOD
int getNumLogisticsMods(ShipAPI ship)
boolean isApplicableToShip(ShipAPI ship)
String getUnapplicableReason(ShipAPI ship)
HullModSpecAPI getHullModSpec(String modId)
DynamicStatsAPI getDynamic()
ShipHullSpecAPI getHullSpec()
MutableShipStatsAPI getMutableStats()
ShipVariantAPI getVariant()
boolean isBuiltInMod(String modId)
Collection< String > getHullMods()
boolean hasHullMod(String id)
Set< String > getPermaMods()
boolean hasUITag(String tag)
StatBonus getMod(String id)