Class PirateBasePirateActivityCause2
java.lang.Object
com.fs.starfarer.api.impl.campaign.intel.events.BaseHostileActivityCause2
com.fs.starfarer.api.impl.campaign.intel.events.PirateBasePirateActivityCause2
- All Implemented Interfaces:
HostileActivityCause2
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic boolean
static float
Fields inherited from class com.fs.starfarer.api.impl.campaign.intel.events.BaseHostileActivityCause2
intel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtraRows
(TooltipMakerAPI info, BaseEventIntel intel) static PirateBaseIntel
getBaseIntel
(StarSystemAPI system) getDesc()
float
int
Progress is used to advance the event, MagnitudeContribution is for fleet spawning for...protected int
protected int
getProgressForSystem
(StarSystemAPI system) static List<StarSystemAPI>
boolean
boolean
Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.events.BaseHostileActivityCause2
getDescColor, getProgressColor, getProgressStr, getTooltip
-
Field Details
-
DEAL_PROVIDES_NEGATIVE_PROGRESS
public static boolean DEAL_PROVIDES_NEGATIVE_PROGRESS -
MAX_MAG
public static float MAX_MAG
-
-
Constructor Details
-
PirateBasePirateActivityCause2
-
-
Method Details
-
getColoniesAffectedBy
-
getSystemsAffectedBy
-
getBaseIntel
-
addExtraRows
- Specified by:
addExtraRows
in interfaceHostileActivityCause2
- Overrides:
addExtraRows
in classBaseHostileActivityCause2
-
playerHasDealWithAnyBases
public boolean playerHasDealWithAnyBases() -
shouldShow
public boolean shouldShow()- Specified by:
shouldShow
in interfaceHostileActivityCause2
- Overrides:
shouldShow
in classBaseHostileActivityCause2
-
getProgress
public int getProgress()Description copied from interface:HostileActivityCause2
Progress is used to advance the event, MagnitudeContribution is for fleet spawning for... legacy reasons. May refactor this later.- Specified by:
getProgress
in interfaceHostileActivityCause2
- Overrides:
getProgress
in classBaseHostileActivityCause2
- Returns:
-
getProgressForBase
-
getProgressForSystem
-
getDesc
- Specified by:
getDesc
in interfaceHostileActivityCause2
- Overrides:
getDesc
in classBaseHostileActivityCause2
-
getMagnitudeContribution
- Specified by:
getMagnitudeContribution
in interfaceHostileActivityCause2
- Overrides:
getMagnitudeContribution
in classBaseHostileActivityCause2
-