public class HA_CMD extends BaseCommandPlugin
| Modifier and Type | Class and Description |
|---|---|
static class |
HA_CMD.PLPunExData |
static class |
HA_CMD.StationKingScript |
| Modifier and Type | Field and Description |
|---|---|
protected SectorEntityToken |
other |
static java.lang.String |
PATHER_AGREEMENT |
static java.lang.String |
PATHER_AGREEMENT_PERMANENT |
| Constructor and Description |
|---|
HA_CMD() |
doesCommandAddOptions, getEntityMemory, getOptionOrderpublic static final java.lang.String PATHER_AGREEMENT
public static final java.lang.String PATHER_AGREEMENT_PERMANENT
protected SectorEntityToken other
public HA_CMD()
public static void setPatherAgreement(boolean agreement, float duration)
public static boolean playerHasPatherAgreement()
public static boolean playerPatherAgreementIsPermanent()
public static float getPlayerPatherAgreementDays()
public static int computePirateProtectionPaymentPerMonth(PirateBaseIntel intel)
public static int computePirateProtectionPaymentPerTick(PirateBaseIntel intel)
public boolean execute(java.lang.String ruleId, InteractionDialogAPI dialog, java.util.List<Misc.Token> params, java.util.Map<java.lang.String,MemoryAPI> memoryMap)
public boolean sacredProtectorsCheckCargoPods(int remove)
public static boolean isKOLTakeoverInProgress()
public static boolean isPLExpeditionInProgress()
public static void avertOrEndKOLTakeoverAsNecessary()
public static void avertOrEndDiktatAttackAsNecessary()
public static void avertOrEndPLBlockadeAsNecessary()
public static boolean canPlayerJoinTheLeague()
public static boolean baseInvolved(StarSystemAPI system, PirateBaseIntel base)
public static boolean canSendPerseanLeaguePunitiveExpedition()
public static HA_CMD.PLPunExData computePerseanLeaguePunitiveExpeditionData()
public static void sendPerseanLeaguePunitiveExpedition(InteractionDialogAPI dialog)