Class DefectiveManufactory
java.lang.Object
com.fs.starfarer.api.combat.BaseHullMod
com.fs.starfarer.api.impl.hullmods.DefectiveManufactory
- All Implemented Interfaces:
HullModEffect
-
Field Summary
FieldsFields inherited from class com.fs.starfarer.api.combat.BaseHullMod
spec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyEffectsBeforeShipCreation
(ShipAPI.HullSize hullSize, MutableShipStatsAPI stats, String id) void
applyEffectsToFighterSpawnedByShip
(ShipAPI fighter, ShipAPI ship, String id) getDescriptionParam
(int index, ShipAPI.HullSize hullSize, ShipAPI ship) Methods inherited from class com.fs.starfarer.api.combat.BaseHullMod
addPostDescriptionSection, addRequiredItemSection, addSModEffectSection, addSModSection, advanceInCampaign, advanceInCombat, affectsOPCosts, applyEffectsAfterShipCreation, 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
-
SPEED_REDUCTION
public static float SPEED_REDUCTION -
DAMAGE_INCREASE
public static float DAMAGE_INCREASE
-
-
Constructor Details
-
DefectiveManufactory
public DefectiveManufactory()
-
-
Method Details
-
applyEffectsToFighterSpawnedByShip
- Specified by:
applyEffectsToFighterSpawnedByShip
in interfaceHullModEffect
- Overrides:
applyEffectsToFighterSpawnedByShip
in classBaseHullMod
-
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
-