public class RepairGantry extends BaseHullMod
Modifier and Type | Field and Description |
---|---|
static float |
BATTLE_SALVAGE_MULT |
static float |
MIN_CR |
spec
Constructor and Description |
---|
RepairGantry() |
Modifier and Type | Method and Description |
---|---|
void |
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.
|
void |
applyEffectsBeforeShipCreation(ShipAPI.HullSize hullSize,
MutableShipStatsAPI stats,
java.lang.String id) |
static float |
getAdjustedGantryModifier(CampaignFleetAPI fleet,
java.lang.String skipId,
float add) |
static float |
getAdjustedGantryModifierForPostCombatSalvage(CampaignFleetAPI fleet) |
java.lang.String |
getDescriptionParam(int index,
ShipAPI.HullSize hullSize) |
boolean |
shouldAddDescriptionToTooltip(ShipAPI.HullSize hullSize,
ShipAPI ship,
boolean isForModSpec)
ship may be null, will be for modspecs.
|
addSModEffectSection, addSModSection, advanceInCampaign, affectsOPCosts, applyEffectsAfterShipCreation, applyEffectsToFighterSpawnedByShip, canBeAddedOrRemovedNow, getBorderColor, getCanNotBeInstalledNowReason, getDescriptionParam, getDisplayCategoryIndex, getDisplaySortOrder, getNameColor, getSModDescriptionParam, getSModDescriptionParam, getTooltipWidth, getUnapplicableReason, hasSModEffect, hasSModEffectSection, init, isApplicableToShip, isBuiltIn, isInPlayerFleet, isInPlayerFleet, isSMod, isSMod, isSModEffectAPenalty, shipHasOtherModInCategory, showInRefitScreenModPickerFor
public static final float BATTLE_SALVAGE_MULT
public static final float MIN_CR
public void applyEffectsBeforeShipCreation(ShipAPI.HullSize hullSize, MutableShipStatsAPI stats, java.lang.String id)
applyEffectsBeforeShipCreation
in interface HullModEffect
applyEffectsBeforeShipCreation
in class BaseHullMod
public java.lang.String getDescriptionParam(int index, ShipAPI.HullSize hullSize)
getDescriptionParam
in interface HullModEffect
getDescriptionParam
in class BaseHullMod
public void advanceInCombat(ShipAPI ship, float amount)
HullModEffect
advanceInCombat
in interface HullModEffect
advanceInCombat
in class BaseHullMod
public boolean shouldAddDescriptionToTooltip(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec)
HullModEffect
shouldAddDescriptionToTooltip
in interface HullModEffect
shouldAddDescriptionToTooltip
in class BaseHullMod
public void addPostDescriptionSection(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec)
HullModEffect
addPostDescriptionSection
in interface HullModEffect
addPostDescriptionSection
in class BaseHullMod
public static float getAdjustedGantryModifierForPostCombatSalvage(CampaignFleetAPI fleet)
public static float getAdjustedGantryModifier(CampaignFleetAPI fleet, java.lang.String skipId, float add)
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.