Class ShroudedLensHullmod
java.lang.Object
com.fs.starfarer.api.combat.BaseHullMod
com.fs.starfarer.api.impl.combat.dweller.DwellerHullmod
com.fs.starfarer.api.impl.combat.dweller.HumanShipShroudedHullmod
com.fs.starfarer.api.impl.combat.dweller.ShroudedLensHullmod
- All Implemented Interfaces:
HullModEffect
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic float
static String
static float
static float
static float
static float
static float
static float
static float
Fields inherited from class com.fs.starfarer.api.impl.combat.dweller.HumanShipShroudedHullmod
ALLOW_ON_PHASE_SHIPS, CREATOR, CREW_CASUALTIES
Fields inherited from class com.fs.starfarer.api.impl.combat.dweller.DwellerHullmod
INITED_DWELLER_STUFF, SHIP_CREATORS
Fields inherited from class com.fs.starfarer.api.combat.BaseHullMod
spec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPostDescriptionSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) ship may be null, will be for modspecs.void
advanceInCombat
(ShipAPI ship, float amount) Not called while paused.findTarget
(ShipAPI ship) static float
getDamage
(ShipAPI.HullSize size) getDescriptionParam
(int index, ShipAPI.HullSize hullSize) static float
getFluxCost
(ShipAPI.HullSize size) static float
getPowerMult
(ShipAPI.HullSize size) static float
getRoF
(ShipAPI.HullSize size) boolean
shouldAddDescriptionToTooltip
(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) ship may be null, will be for modspecs.void
spawnExplosion
(ShipAPI ship, CombatEntityAPI target) Methods inherited from class com.fs.starfarer.api.impl.combat.dweller.HumanShipShroudedHullmod
addCrewCasualties, addStrategyAI, applyEffectsBeforeShipCreation, deductFlux, getShipCreator, getUnapplicableReason, increasesCrewCasualties, isApplicableToShip, skipFluxUseWhenOverloadedOrVenting
Methods inherited from class com.fs.starfarer.api.impl.combat.dweller.DwellerHullmod
applyEffectsAfterShipAddedToCombatEngine, applyEffectsAfterShipCreation
Methods inherited from class com.fs.starfarer.api.combat.BaseHullMod
addRequiredItemSection, addSModEffectSection, addSModSection, advanceInCampaign, affectsOPCosts, applyEffectsToFighterSpawnedByShip, canBeAddedOrRemovedNow, getBorderColor, getCanNotBeInstalledNowReason, getDescriptionParam, getDisplayCategoryIndex, getDisplaySortOrder, getNameColor, getSModDescriptionParam, getSModDescriptionParam, getTooltipWidth, hasSModEffect, hasSModEffectSection, init, isBuiltIn, isInPlayerFleet, isInPlayerFleet, isSMod, isSMod, isSModEffectAPenalty, shipHasOtherModInCategory, showInRefitScreenModPickerFor
-
Field Details
-
MAX_RANGE
public static float MAX_RANGE -
RADIUS
public static float RADIUS -
MIN_REFIRE_DELAY
public static float MIN_REFIRE_DELAY -
MAX_REFIRE_DELAY
public static float MAX_REFIRE_DELAY -
FLUX_PER_DAMAGE
public static float FLUX_PER_DAMAGE -
DAMAGE
public static float DAMAGE -
MIN_ROF_MULT
public static float MIN_ROF_MULT -
MAX_ROF_MULT
public static float MAX_ROF_MULT -
DATA_KEY
-
-
Constructor Details
-
ShroudedLensHullmod
public ShroudedLensHullmod()
-
-
Method Details
-
getDescriptionParam
- Specified by:
getDescriptionParam
in interfaceHullModEffect
- Overrides:
getDescriptionParam
in classBaseHullMod
-
getRequiredItem
-
getData
-
advanceInCombat
Description copied from interface:HullModEffect
Not called while paused.- Specified by:
advanceInCombat
in interfaceHullModEffect
- Overrides:
advanceInCombat
in classDwellerHullmod
-
getPowerMult
-
getRoF
-
getFluxCost
-
getDamage
-
spawnExplosion
-
shouldAddDescriptionToTooltip
public boolean shouldAddDescriptionToTooltip(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) Description copied from interface:HullModEffect
ship may be null, will be for modspecs. hullsize will always be CAPITAL_SHIP for modspecs.- Specified by:
shouldAddDescriptionToTooltip
in interfaceHullModEffect
- Overrides:
shouldAddDescriptionToTooltip
in classBaseHullMod
- Returns:
-
addPostDescriptionSection
public void addPostDescriptionSection(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) Description copied from interface:HullModEffect
ship may be null, will be for modspecs. hullsize will always be CAPITAL_SHIP for modspecs.- Specified by:
addPostDescriptionSection
in interfaceHullModEffect
- Overrides:
addPostDescriptionSection
in classBaseHullMod
-
findTarget
-