Class LuddicChurchHostileActivityFactor
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.LuddicChurchHostileActivityFactor
- All Implemented Interfaces:
ColonyPlayerHostileActListener
,ColonySizeChangeListener
,EventFactor
,HostileActivityFactor
,FleetGroupIntel.FGIEventListener
public class LuddicChurchHostileActivityFactor
extends BaseHostileActivityFactor
implements FleetGroupIntel.FGIEventListener, ColonyPlayerHostileActListener, ColonySizeChangeListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Fields 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 TypeMethodDescriptionvoid
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) void
advance
(float amount) static boolean
createFleet
(StarSystemAPI system, Random random) boolean
fireEvent
(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage) getDesc
(BaseEventIntel intel) getDescColor
(BaseEventIntel intel) float
getExpeditionSource
(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage, MarketAPI target) static MarketAPI
getHesperus
(boolean requireMilitaryBase) getMainRowTooltip
(BaseEventIntel intel) int
getMaxNumFleets
(StarSystemAPI system) getNameColor
(float mag) getNameForThreatList
(boolean first) int
getProgress
(BaseEventIntel intel) getProgressStr
(BaseEventIntel intel) float
static boolean
static boolean
void
void
void
reportColonySizeChanged
(MarketAPI market, int prevSize) void
reportFGIAborted
(FleetGroupIntel intel) void
reportRaidForValuablesFinishedBeforeCargoShown
(InteractionDialogAPI dialog, MarketAPI market, MarketCMD.TempData actionData, CargoAPI cargo) void
reportRaidToDisruptFinished
(InteractionDialogAPI dialog, MarketAPI market, MarketCMD.TempData actionData, Industry industry) void
reportSaturationBombardmentFinished
(InteractionDialogAPI dialog, MarketAPI market, MarketCMD.TempData actionData) void
reportTacticalBombardmentFinished
(InteractionDialogAPI dialog, MarketAPI market, MarketCMD.TempData actionData) void
rollEvent
(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage) static void
setBrokeDeal
(boolean broke) static void
setDefeatedExpedition
(boolean value) static void
setMadeDeal
(boolean value) boolean
shouldShow
(BaseEventIntel intel) boolean
startExpedition
(MarketAPI source, MarketAPI target, 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, getNameColorForThreatList, getRandomizedStageRandom, getRandomizedStageRandom, getRandomizedStageSeed, getSpawnFrequency, getStayInHyperProbability, removeCauseOfClass, resetEvent, setRandomizedStageSeed
Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.events.BaseEventFactor
addBorder, addBulletPointForOneTimeFactor, getAllProgressMult, getMainRowTooltip, getProgressColor, isExpired, isOneTime, notifyEventEnded
-
Field Details
-
HASSLE_REASON
- See Also:
-
DEFEATED_LUDDIC_CHURCH_EXPEDITION
- See Also:
-
MADE_IMMIGRATION_DEAL_WITH_LUDDIC_CHURCH
- See Also:
-
BROKE_LUDDIC_CHURCH_DEAL
- See Also:
-
-
Constructor Details
-
LuddicChurchHostileActivityFactor
-
-
Method Details
-
isDefeatedExpedition
public static boolean isDefeatedExpedition() -
setDefeatedExpedition
public static void setDefeatedExpedition(boolean value) -
isMadeDeal
public static boolean isMadeDeal() -
setMadeDeal
public static void setMadeDeal(boolean value) -
brokeDeal
public static boolean brokeDeal() -
setBrokeDeal
public static void setBrokeDeal(boolean broke) -
getProgressStr
- Specified by:
getProgressStr
in interfaceEventFactor
- Overrides:
getProgressStr
in classBaseEventFactor
-
getProgress
- Specified by:
getProgress
in interfaceEventFactor
- Overrides:
getProgress
in classBaseHostileActivityFactor
-
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
-
getMainRowTooltip
- Specified by:
getMainRowTooltip
in interfaceEventFactor
- Overrides:
getMainRowTooltip
in classBaseEventFactor
-
shouldShow
- Specified by:
shouldShow
in interfaceEventFactor
- Overrides:
shouldShow
in classBaseEventFactor
-
getNameColor
-
getMaxNumFleets
- Specified by:
getMaxNumFleets
in interfaceHostileActivityFactor
- Overrides:
getMaxNumFleets
in classBaseHostileActivityFactor
-
getSpawnInHyperProbability
- Specified by:
getSpawnInHyperProbability
in interfaceHostileActivityFactor
- Overrides:
getSpawnInHyperProbability
in classBaseHostileActivityFactor
-
createFleet
- Specified by:
createFleet
in interfaceHostileActivityFactor
- Overrides:
createFleet
in classBaseHostileActivityFactor
-
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
-
rollEvent
- Specified by:
rollEvent
in interfaceHostileActivityFactor
- Overrides:
rollEvent
in classBaseHostileActivityFactor
-
fireEvent
- Specified by:
fireEvent
in interfaceHostileActivityFactor
- Overrides:
fireEvent
in classBaseHostileActivityFactor
-
findExpeditionTarget
public MarketAPI findExpeditionTarget(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage) -
getExpeditionSource
public MarketAPI getExpeditionSource(HostileActivityEventIntel intel, BaseEventIntel.EventStageData stage, MarketAPI target) -
getHesperus
-
startExpedition
public boolean startExpedition(MarketAPI source, MarketAPI target, BaseEventIntel.EventStageData stage, Random random) -
reportFGIAborted
- Specified by:
reportFGIAborted
in interfaceFleetGroupIntel.FGIEventListener
-
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
-
reportRaidForValuablesFinishedBeforeCargoShown
public void reportRaidForValuablesFinishedBeforeCargoShown(InteractionDialogAPI dialog, MarketAPI market, MarketCMD.TempData actionData, CargoAPI cargo) - Specified by:
reportRaidForValuablesFinishedBeforeCargoShown
in interfaceColonyPlayerHostileActListener
-
reportRaidToDisruptFinished
public void reportRaidToDisruptFinished(InteractionDialogAPI dialog, MarketAPI market, MarketCMD.TempData actionData, Industry industry) - Specified by:
reportRaidToDisruptFinished
in interfaceColonyPlayerHostileActListener
-
reportTacticalBombardmentFinished
public void reportTacticalBombardmentFinished(InteractionDialogAPI dialog, MarketAPI market, MarketCMD.TempData actionData) - Specified by:
reportTacticalBombardmentFinished
in interfaceColonyPlayerHostileActListener
-
reportSaturationBombardmentFinished
public void reportSaturationBombardmentFinished(InteractionDialogAPI dialog, MarketAPI market, MarketCMD.TempData actionData) - Specified by:
reportSaturationBombardmentFinished
in interfaceColonyPlayerHostileActListener
-
advance
public void advance(float amount) - Specified by:
advance
in interfaceEventFactor
- Overrides:
advance
in classBaseEventFactor
-
reportColonySizeChanged
- Specified by:
reportColonySizeChanged
in interfaceColonySizeChangeListener
-