Class RuggedConstruction
java.lang.Object
com.fs.starfarer.api.combat.BaseHullMod
com.fs.starfarer.api.impl.hullmods.RuggedConstruction
- All Implemented Interfaces:
HullModEffect
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic float
static float
static float
Fields inherited from class com.fs.starfarer.api.combat.BaseHullMod
spec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Hullmods that return true here should only ever be built-in, as cost changes aren't handled when these mods can be added or removed to/from the variant.void
applyEffectsBeforeShipCreation
(ShipAPI.HullSize hullSize, MutableShipStatsAPI stats, String id) getDescriptionParam
(int index, ShipAPI.HullSize hullSize) Methods inherited from class com.fs.starfarer.api.combat.BaseHullMod
addPostDescriptionSection, addRequiredItemSection, addSModEffectSection, addSModSection, advanceInCampaign, advanceInCombat, applyEffectsAfterShipCreation, applyEffectsToFighterSpawnedByShip, canBeAddedOrRemovedNow, getBorderColor, getCanNotBeInstalledNowReason, getDescriptionParam, getDisplayCategoryIndex, getDisplaySortOrder, getNameColor, getSModDescriptionParam, getSModDescriptionParam, getTooltipWidth, getUnapplicableReason, hasSModEffect, hasSModEffectSection, init, isApplicableToShip, isBuiltIn, isInPlayerFleet, isInPlayerFleet, isSMod, isSMod, isSModEffectAPenalty, shipHasOtherModInCategory, shouldAddDescriptionToTooltip, showInRefitScreenModPickerFor
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.fs.starfarer.api.combat.HullModEffect
applyEffectsAfterShipAddedToCombatEngine, getRequiredItem
-
Field Details
-
DEPLOYMENT_COST_MULT
public static float DEPLOYMENT_COST_MULT -
DMOD_EFFECT_MULT
public static float DMOD_EFFECT_MULT -
DMOD_AVOID_CHANCE
public static float DMOD_AVOID_CHANCE
-
-
Constructor Details
-
RuggedConstruction
public RuggedConstruction()
-
-
Method Details
-
applyEffectsBeforeShipCreation
public void applyEffectsBeforeShipCreation(ShipAPI.HullSize hullSize, MutableShipStatsAPI stats, String id) - Specified by:
applyEffectsBeforeShipCreation
in interfaceHullModEffect
- Overrides:
applyEffectsBeforeShipCreation
in classBaseHullMod
-
getDescriptionParam
- Specified by:
getDescriptionParam
in interfaceHullModEffect
- Overrides:
getDescriptionParam
in classBaseHullMod
-
affectsOPCosts
public boolean affectsOPCosts()Description copied from interface:HullModEffect
Hullmods that return true here should only ever be built-in, as cost changes aren't handled when these mods can be added or removed to/from the variant.- Specified by:
affectsOPCosts
in interfaceHullModEffect
- Overrides:
affectsOPCosts
in classBaseHullMod
- Returns:
-