java.lang.Object
com.fs.starfarer.api.impl.campaign.rulecmd.BaseCommandPlugin
com.fs.starfarer.api.impl.campaign.rulecmd.HA_CMD
All Implemented Interfaces:
CommandPlugin

public class HA_CMD extends BaseCommandPlugin
For hostile activity ("HA") related tasks. HA_CMD
  • Field Details

  • 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

      public static int computePirateProtectionPaymentPerMonth(PirateBaseIntel intel)
    • computePirateProtectionPaymentPerTick

      public static int computePirateProtectionPaymentPerTick(PirateBaseIntel intel)
    • 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

      public static boolean baseInvolved(StarSystemAPI system, PirateBaseIntel base)
    • canSendPerseanLeaguePunitiveExpedition

      public static boolean canSendPerseanLeaguePunitiveExpedition()
    • computePerseanLeaguePunitiveExpeditionData

      public static HA_CMD.PLPunExData computePerseanLeaguePunitiveExpeditionData()
    • sendPerseanLeaguePunitiveExpedition

      public static void sendPerseanLeaguePunitiveExpedition(InteractionDialogAPI dialog)