Class PunitiveExpeditionManager
java.lang.Object
com.fs.starfarer.api.impl.campaign.intel.punitive.PunitiveExpeditionManager
- All Implemented Interfaces:
EveryFrameScript
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
static class
static enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic float
static float
static int
static float
static float
static final String
static int
static float
static float
static int
static float
protected int
static float
static float
static float
static float
protected float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
advance
(float amount) Use SectorAPI.getClock() to convert to campaign days.protected void
void
void
createExpedition
(PunitiveExpeditionManager.PunExData curr, Integer fpOverride) getData()
getDataFor
(FactionAPI faction) float
static PunitiveExpeditionManager
int
boolean
isDone()
protected Object
boolean
-
Field Details
-
KEY
- See Also:
-
MAX_CONCURRENT
public static int MAX_CONCURRENT -
PROB_TIMEOUT_PER_SENT
public static float PROB_TIMEOUT_PER_SENT -
MIN_TIMEOUT
public static float MIN_TIMEOUT -
MAX_TIMEOUT
public static float MAX_TIMEOUT -
MIN_COLONY_SIZE_FOR_NON_TERRITORIAL
public static int MIN_COLONY_SIZE_FOR_NON_TERRITORIAL -
TARGET_NUMBER_FOR_FREQUENCY
public static float TARGET_NUMBER_FOR_FREQUENCY -
ANGER_BUILDUP_MULT
public static float ANGER_BUILDUP_MULT -
FACTION_MUST_BE_IN_TOP_X_PRODUCERS
public static int FACTION_MUST_BE_IN_TOP_X_PRODUCERS -
PLAYER_FRACTION_TO_NOTICE
public static float PLAYER_FRACTION_TO_NOTICE -
MAX_THRESHOLD
public static float MAX_THRESHOLD -
timeout
protected float timeout -
numSentSinceTimeout
protected int numSentSinceTimeout -
data
-
COMPETITION_PRODUCTION_MULT
public static float COMPETITION_PRODUCTION_MULT -
ILLEGAL_GOODS_MULT
public static float ILLEGAL_GOODS_MULT -
FREE_PORT_SIZE_MULT
public static float FREE_PORT_SIZE_MULT -
TERRITORIAL_ANGER
public static float TERRITORIAL_ANGER
-
-
Constructor Details
-
PunitiveExpeditionManager
public PunitiveExpeditionManager()
-
-
Method Details
-
getInstance
-
readResolve
-
getDataFor
-
getData
-
advance
public void advance(float amount) Description copied from interface:EveryFrameScript
Use SectorAPI.getClock() to convert to campaign days.- Specified by:
advance
in interfaceEveryFrameScript
- Parameters:
amount
- seconds elapsed during the last frame.
-
getExtraTimeout
-
getOngoing
public int getOngoing() -
checkExpedition
-
getExpeditionReasons
public List<PunitiveExpeditionManager.PunExReason> getExpeditionReasons(PunitiveExpeditionManager.PunExData curr) -
createExpedition
-
createExpedition
-
isDone
public boolean isDone()- Specified by:
isDone
in interfaceEveryFrameScript
- Returns:
- true when the script is finished and can be cleaned up by the engine.
-
runWhilePaused
public boolean runWhilePaused()- Specified by:
runWhilePaused
in interfaceEveryFrameScript
- Returns:
- whether advance() should be called while the campaign engine is paused.
-