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.
|
addRequiredItemSection, 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, showInRefitScreenModPickerForclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyEffectsAfterShipAddedToCombatEngine, getRequiredItempublic static final float BATTLE_SALVAGE_MULT
public static final float MIN_CR
public RepairGantry()
public void applyEffectsBeforeShipCreation(ShipAPI.HullSize hullSize, MutableShipStatsAPI stats, java.lang.String id)
applyEffectsBeforeShipCreation in interface HullModEffectapplyEffectsBeforeShipCreation in class BaseHullModpublic java.lang.String getDescriptionParam(int index, ShipAPI.HullSize hullSize)
getDescriptionParam in interface HullModEffectgetDescriptionParam in class BaseHullModpublic void advanceInCombat(ShipAPI ship, float amount)
HullModEffectadvanceInCombat in interface HullModEffectadvanceInCombat in class BaseHullModpublic boolean shouldAddDescriptionToTooltip(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec)
HullModEffectshouldAddDescriptionToTooltip in interface HullModEffectshouldAddDescriptionToTooltip in class BaseHullModpublic void addPostDescriptionSection(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec)
HullModEffectaddPostDescriptionSection in interface HullModEffectaddPostDescriptionSection in class BaseHullModpublic static float getAdjustedGantryModifierForPostCombatSalvage(CampaignFleetAPI fleet)
public static float getAdjustedGantryModifier(CampaignFleetAPI fleet, java.lang.String skipId, float add)