Class LuddicPathHostileActivityFactor
java.lang.Object
com.fs.starfarer.api.impl.campaign.intel.events.BaseEventFactor
com.fs.starfarer.api.impl.campaign.intel.events.BaseHostileActivityFactor
com.fs.starfarer.api.impl.campaign.intel.events.LuddicPathHostileActivityFactor
- All Implemented Interfaces:
PatherCellListener
,EventFactor
,HostileActivityFactor
,FleetGroupIntel.FGIEventListener
public class LuddicPathHostileActivityFactor
extends BaseHostileActivityFactor
implements PatherCellListener, FleetGroupIntel.FGIEventListener
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsFields inherited from class com.fs.starfarer.api.impl.campaign.intel.events.BaseHostileActivityFactor
causes, intel, seed
Fields inherited from class com.fs.starfarer.api.impl.campaign.intel.events.BaseEventFactor
TOOLTIP_WIDTH
Fields inherited from interface com.fs.starfarer.api.impl.campaign.intel.events.EventFactor
NEGATED_FACTOR_PROGRESS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addAgreementStatus
(TooltipMakerAPI tooltip, float initPad) void
addBulletPointForEvent
(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage, TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode, boolean isUpdate, Color tc, float initPad) void
addBulletPointForEventReset
(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage, TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode, boolean isUpdate, Color tc, float initPad) void
addStageDescriptionForEvent
(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage, TooltipMakerAPI info) static void
createFleet
(StarSystemAPI system, Random random) boolean
fireEvent
(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage) getDesc
(BaseEventIntel intel) getDescColor
(BaseEventIntel intel) float
getMainRowTooltip
(BaseEventIntel intel) int
getMaxNumFleets
(StarSystemAPI system) getNameForThreatList
(boolean first) getProgressStr
(BaseEventIntel intel) static boolean
void
void
void
void
reportFGIAborted
(FleetGroupIntel intel) void
rollEvent
(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage) static void
boolean
shouldShow
(BaseEventIntel intel) boolean
startRaid
(MarketAPI source, MarketAPI target, float interest, StarSystemAPI system, BaseEventIntel.EventStageData stage, Random random) Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.events.BaseHostileActivityFactor
addCause, addExtraRows, checkFactionExists, getCauseOfClass, getCauses, getDefaultEventTooltip, getEffectMagnitude, getEventStageSound, getId, getProgress, getRandomizedStageRandom, getRandomizedStageRandom, getRandomizedStageSeed, getSpawnFrequency, getSpawnInHyperProbability, getStayInHyperProbability, removeCauseOfClass, resetEvent, setRandomizedStageSeed
Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.events.BaseEventFactor
addBorder, addBulletPointForOneTimeFactor, advance, getAllProgressMult, getMainRowTooltip, getProgressColor, isExpired, isOneTime, notifyEventEnded
-
Field Details
-
DEFEATED_PATHER_EXPEDITION
-
ATTACK_KEY
-
-
Constructor Details
-
LuddicPathHostileActivityFactor
-
-
Method Details
-
isPlayerDefeatedPatherExpedition
public static boolean isPlayerDefeatedPatherExpedition() -
setPlayerDefeatedPatherExpedition
public static void setPlayerDefeatedPatherExpedition() -
getProgressStr
- Specified by:
getProgressStr
in interfaceEventFactor
- Overrides:
getProgressStr
in classBaseEventFactor
-
getDesc
- Specified by:
getDesc
in interfaceEventFactor
- Overrides:
getDesc
in classBaseEventFactor
-
getNameForThreatList
- Specified by:
getNameForThreatList
in interfaceHostileActivityFactor
- Overrides:
getNameForThreatList
in classBaseHostileActivityFactor
-
getDescColor
- Specified by:
getDescColor
in interfaceEventFactor
- Overrides:
getDescColor
in classBaseEventFactor
-
getNameColorForThreatList
- Specified by:
getNameColorForThreatList
in interfaceHostileActivityFactor
- Overrides:
getNameColorForThreatList
in classBaseHostileActivityFactor
-
getMainRowTooltip
- Specified by:
getMainRowTooltip
in interfaceEventFactor
- Overrides:
getMainRowTooltip
in classBaseEventFactor
-
addAgreementStatus
-
shouldShow
- Specified by:
shouldShow
in interfaceEventFactor
- Overrides:
shouldShow
in classBaseEventFactor
-
getMaxNumFleets
- Specified by:
getMaxNumFleets
in interfaceHostileActivityFactor
- Overrides:
getMaxNumFleets
in classBaseHostileActivityFactor
-
createFleet
- Specified by:
createFleet
in interfaceHostileActivityFactor
- Overrides:
createFleet
in classBaseHostileActivityFactor
-
notifyFactorRemoved
public void notifyFactorRemoved()- Specified by:
notifyFactorRemoved
in interfaceEventFactor
- Overrides:
notifyFactorRemoved
in classBaseEventFactor
-
notifyEventEnding
public void notifyEventEnding()- Specified by:
notifyEventEnding
in interfaceEventFactor
- Overrides:
notifyEventEnding
in classBaseEventFactor
-
getPatherCellData
public static LuddicPathHostileActivityFactor.HAPatherCellsEventData getPatherCellData(BaseEventIntel.EventStageData stage) -
addBulletPointForEvent
public void addBulletPointForEvent(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage, TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode, boolean isUpdate, Color tc, float initPad) - Specified by:
addBulletPointForEvent
in interfaceHostileActivityFactor
- Overrides:
addBulletPointForEvent
in classBaseHostileActivityFactor
-
addBulletPointForEventReset
public void addBulletPointForEventReset(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage, TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode, boolean isUpdate, Color tc, float initPad) - Specified by:
addBulletPointForEventReset
in interfaceHostileActivityFactor
- Overrides:
addBulletPointForEventReset
in classBaseHostileActivityFactor
-
addStageDescriptionForEvent
public void addStageDescriptionForEvent(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage, TooltipMakerAPI info) - Specified by:
addStageDescriptionForEvent
in interfaceHostileActivityFactor
- Overrides:
addStageDescriptionForEvent
in classBaseHostileActivityFactor
-
getEventStageIcon
public String getEventStageIcon(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage) - Specified by:
getEventStageIcon
in interfaceHostileActivityFactor
- Overrides:
getEventStageIcon
in classBaseHostileActivityFactor
-
getStageTooltipImpl
public TooltipMakerAPI.TooltipCreator getStageTooltipImpl(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage) - Specified by:
getStageTooltipImpl
in interfaceHostileActivityFactor
- Overrides:
getStageTooltipImpl
in classBaseHostileActivityFactor
-
getEventFrequency
public float getEventFrequency(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage) - Specified by:
getEventFrequency
in interfaceHostileActivityFactor
- Overrides:
getEventFrequency
in classBaseHostileActivityFactor
-
pickTargetMarket
-
rollEvent
- Specified by:
rollEvent
in interfaceHostileActivityFactor
- Overrides:
rollEvent
in classBaseHostileActivityFactor
-
fireEvent
- Specified by:
fireEvent
in interfaceHostileActivityFactor
- Overrides:
fireEvent
in classBaseHostileActivityFactor
-
reportCellsDisrupted
- Specified by:
reportCellsDisrupted
in interfacePatherCellListener
-
avertOrAbortAttack
public static void avertOrAbortAttack() -
startRaid
public boolean startRaid(MarketAPI source, MarketAPI target, float interest, StarSystemAPI system, BaseEventIntel.EventStageData stage, Random random) -
reportFGIAborted
- Specified by:
reportFGIAborted
in interfaceFleetGroupIntel.FGIEventListener
-