1package com.fs.starfarer.api.impl.hullmods;
3import com.fs.starfarer.api.combat.BaseHullMod;
4import com.fs.starfarer.api.combat.MutableShipStatsAPI;
5import com.fs.starfarer.api.combat.ShipAPI;
6import com.fs.starfarer.api.combat.ShipAPI.HullSize;
7import com.fs.starfarer.api.fleet.FleetMemberAPI;
8import com.fs.starfarer.api.impl.campaign.ids.Tags;
9import com.fs.starfarer.api.ui.TooltipMakerAPI;
10import com.fs.starfarer.api.util.Misc;
40 tooltip.
addPara(
"Automated ships usually require specialized equipment and expertise to maintain, "
41 +
"resulting in a maximum combat readiness penalty of %s. "
42 +
"This penalty can be offset by a fleet commander skilled in the use of "
52 tooltip.
addPara(
"However, this ship was automated in a fashion that does not require special expertise "
53 +
"to maintain. Some of the techniques used are poorly understood, likely dating to "
55 "does not require special expertise");
61 if (stats ==
null)
return false;
63 if (member ==
null)
return false;
69 if (ship ==
null)
return false;
71 if (member ==
null)
return false;
77 if (member ==
null)
return false;
boolean isInPlayerFleet(MutableShipStatsAPI stats)
void modifyFlat(String source, float value)
void modifyMult(String source, float value)
static float MAX_CR_PENALTY
void applyEffectsAfterShipCreation(ShipAPI ship, String id)
void applyEffectsBeforeShipCreation(HullSize hullSize, MutableShipStatsAPI stats, String id)
static boolean isAutomatedNoPenalty(FleetMemberAPI member)
static boolean isAutomatedNoPenalty(MutableShipStatsAPI stats)
static boolean isAutomatedNoPenalty(ShipAPI ship)
void addPostDescriptionSection(TooltipMakerAPI tooltip, HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec)
String getDescriptionParam(int index, HullSize hullSize)
static Color getHighlightColor()
MutableStat getMaxCombatReadiness()
StatBonus getMinCrewMod()
StatBonus getMaxCrewMod()
FleetMemberAPI getFleetMember()
ShipHullSpecAPI getHullSpec()
FleetMemberAPI getFleetMember()
void setInvalidTransferCommandTarget(boolean invalidTransferCommandTarget)
boolean hasTag(String tag)
boolean hasTag(String tag)
ShipVariantAPI getVariant()
ShipHullSpecAPI getHullSpec()