Class HA_CMD
java.lang.Object
com.fs.starfarer.api.impl.campaign.rulecmd.BaseCommandPlugin
com.fs.starfarer.api.impl.campaign.rulecmd.HA_CMD
- All Implemented Interfaces:
CommandPlugin
For hostile activity ("HA") related tasks.
HA_CMD
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SectorEntityToken
static final String
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
static void
static boolean
baseInvolved
(StarSystemAPI system, PirateBaseIntel base) static boolean
static boolean
static HA_CMD.PLPunExData
static int
static int
boolean
execute
(String ruleId, InteractionDialogAPI dialog, List<Misc.Token> params, Map<String, MemoryAPI> memoryMap) static float
static boolean
static boolean
static boolean
static boolean
boolean
sacredProtectorsCheckCargoPods
(int remove) static void
static void
setPatherAgreement
(boolean agreement, float duration) Methods inherited from class com.fs.starfarer.api.impl.campaign.rulecmd.BaseCommandPlugin
doesCommandAddOptions, getEntityMemory, getOptionOrder
-
Field Details
-
PATHER_AGREEMENT
- See Also:
-
PATHER_AGREEMENT_PERMANENT
- See Also:
-
other
-
-
Constructor Details
-
HA_CMD
public HA_CMD()
-
-
Method Details
-
setPatherAgreement
public static void setPatherAgreement(boolean agreement, float duration) -
playerHasPatherAgreement
public static boolean playerHasPatherAgreement() -
playerPatherAgreementIsPermanent
public static boolean playerPatherAgreementIsPermanent() -
getPlayerPatherAgreementDays
public static float getPlayerPatherAgreementDays() -
computePirateProtectionPaymentPerMonth
-
computePirateProtectionPaymentPerTick
-
execute
public boolean execute(String ruleId, InteractionDialogAPI dialog, List<Misc.Token> params, Map<String, MemoryAPI> memoryMap) -
sacredProtectorsCheckCargoPods
public boolean sacredProtectorsCheckCargoPods(int remove) -
isKOLTakeoverInProgress
public static boolean isKOLTakeoverInProgress() -
isPLExpeditionInProgress
public static boolean isPLExpeditionInProgress() -
avertOrEndKOLTakeoverAsNecessary
public static void avertOrEndKOLTakeoverAsNecessary() -
avertOrEndDiktatAttackAsNecessary
public static void avertOrEndDiktatAttackAsNecessary() -
avertOrEndPLBlockadeAsNecessary
public static void avertOrEndPLBlockadeAsNecessary() -
canPlayerJoinTheLeague
public static boolean canPlayerJoinTheLeague() -
baseInvolved
-
canSendPerseanLeaguePunitiveExpedition
public static boolean canSendPerseanLeaguePunitiveExpedition() -
computePerseanLeaguePunitiveExpeditionData
-
sendPerseanLeaguePunitiveExpedition
-