public class LuddicPathHostileActivityFactor extends BaseHostileActivityFactor implements PatherCellListener, FleetGroupIntel.FGIEventListener
| Modifier and Type | Class and Description |
|---|---|
static class |
LuddicPathHostileActivityFactor.HAPatherCellsEventData |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTACK_KEY |
static java.lang.String |
DEFEATED_PATHER_EXPEDITION |
causes, intel, seedTOOLTIP_WIDTHNEGATED_FACTOR_PROGRESS| Constructor and Description |
|---|
LuddicPathHostileActivityFactor(HostileActivityEventIntel intel) |
addCause, addExtraRows, checkFactionExists, getCauseOfClass, getCauses, getDefaultEventTooltip, getEffectMagnitude, getEventStageSound, getId, getProgress, getRandomizedStageRandom, getRandomizedStageRandom, getRandomizedStageSeed, getSpawnFrequency, getSpawnInHyperProbability, getStayInHyperProbability, removeCauseOfClass, resetEvent, setRandomizedStageSeedaddBorder, addBulletPointForOneTimeFactor, advance, getAllProgressMult, getMainRowTooltip, getProgressColor, isExpired, isOneTime, notifyEventEndedpublic static java.lang.String DEFEATED_PATHER_EXPEDITION
public static java.lang.String ATTACK_KEY
public LuddicPathHostileActivityFactor(HostileActivityEventIntel intel)
public static boolean isPlayerDefeatedPatherExpedition()
public static void setPlayerDefeatedPatherExpedition()
public java.lang.String getProgressStr(BaseEventIntel intel)
getProgressStr in interface EventFactorgetProgressStr in class BaseEventFactorpublic java.lang.String getDesc(BaseEventIntel intel)
getDesc in interface EventFactorgetDesc in class BaseEventFactorpublic java.lang.String getNameForThreatList(boolean first)
getNameForThreatList in interface HostileActivityFactorgetNameForThreatList in class BaseHostileActivityFactorpublic java.awt.Color getDescColor(BaseEventIntel intel)
getDescColor in interface EventFactorgetDescColor in class BaseEventFactorpublic java.awt.Color getNameColorForThreatList()
getNameColorForThreatList in interface HostileActivityFactorgetNameColorForThreatList in class BaseHostileActivityFactorpublic TooltipMakerAPI.TooltipCreator getMainRowTooltip(BaseEventIntel intel)
getMainRowTooltip in interface EventFactorgetMainRowTooltip in class BaseEventFactorpublic static void addAgreementStatus(TooltipMakerAPI tooltip, float initPad)
public boolean shouldShow(BaseEventIntel intel)
shouldShow in interface EventFactorshouldShow in class BaseEventFactorpublic int getMaxNumFleets(StarSystemAPI system)
getMaxNumFleets in interface HostileActivityFactorgetMaxNumFleets in class BaseHostileActivityFactorpublic CampaignFleetAPI createFleet(StarSystemAPI system, java.util.Random random)
createFleet in interface HostileActivityFactorcreateFleet in class BaseHostileActivityFactorpublic void notifyFactorRemoved()
notifyFactorRemoved in interface EventFactornotifyFactorRemoved in class BaseEventFactorpublic void notifyEventEnding()
notifyEventEnding in interface EventFactornotifyEventEnding in class BaseEventFactorpublic static LuddicPathHostileActivityFactor.HAPatherCellsEventData getPatherCellData(BaseEventIntel.EventStageData stage)
public void addBulletPointForEvent(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage, TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode, boolean isUpdate, java.awt.Color tc, float initPad)
addBulletPointForEvent in interface HostileActivityFactoraddBulletPointForEvent in class BaseHostileActivityFactorpublic void addBulletPointForEventReset(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage, TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode, boolean isUpdate, java.awt.Color tc, float initPad)
addBulletPointForEventReset in interface HostileActivityFactoraddBulletPointForEventReset in class BaseHostileActivityFactorpublic void addStageDescriptionForEvent(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage, TooltipMakerAPI info)
addStageDescriptionForEvent in interface HostileActivityFactoraddStageDescriptionForEvent in class BaseHostileActivityFactorpublic java.lang.String getEventStageIcon(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage)
getEventStageIcon in interface HostileActivityFactorgetEventStageIcon in class BaseHostileActivityFactorpublic TooltipMakerAPI.TooltipCreator getStageTooltipImpl(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage)
getStageTooltipImpl in interface HostileActivityFactorgetStageTooltipImpl in class BaseHostileActivityFactorpublic float getEventFrequency(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage)
getEventFrequency in interface HostileActivityFactorgetEventFrequency in class BaseHostileActivityFactorpublic MarketAPI pickTargetMarket()
public void rollEvent(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage)
rollEvent in interface HostileActivityFactorrollEvent in class BaseHostileActivityFactorpublic boolean fireEvent(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage)
fireEvent in interface HostileActivityFactorfireEvent in class BaseHostileActivityFactorpublic void reportCellsDisrupted(LuddicPathCellsIntel cell)
reportCellsDisrupted in interface PatherCellListenerpublic static void avertOrAbortAttack()
public boolean startRaid(MarketAPI source, MarketAPI target, float interest, StarSystemAPI system, BaseEventIntel.EventStageData stage, java.util.Random random)
public void reportFGIAborted(FleetGroupIntel intel)
reportFGIAborted in interface FleetGroupIntel.FGIEventListener