Class LuddicPathBaseManager
java.lang.Object
com.fs.starfarer.api.impl.campaign.intel.BaseEventManager
com.fs.starfarer.api.impl.campaign.intel.bases.LuddicPathBaseManager
- All Implemented Interfaces:
EveryFrameScript
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
static float
protected IntervalUtil
protected LinkedHashMap<MarketAPI,
LuddicPathCellsIntel> static final float
static final float
static final float
static final float
static final String
static float
protected int
protected int
static float
protected Random
protected int
protected long
protected int
Fields inherited from class com.fs.starfarer.api.impl.campaign.intel.BaseEventManager
active, currMax, randomBase, tracker, trackerMax
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
advance
(float amount) Use SectorAPI.getClock() to convert to campaign days.protected EveryFrameScript
protected float
static LuddicPathBaseManager
static float
getLuddicPathMarketInterest
(MarketAPI market) protected int
protected int
void
protected StarSystemAPI
protected Object
protected void
Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.BaseEventManager
addActive, belowMax, getActive, getActiveCount, getCurrMax, getHardLimit, getIntervalRateMult, getOngoing, getTracker, getUpdateMaxInterval, isDone, runWhilePaused, updateMax
-
Field Details
-
LUDDIC_CHURCH_INTEREST_MULT
public static float LUDDIC_CHURCH_INTEREST_MULT -
PLAYER_DEFEATED_PATHER_CRISIS_INTEREST_MULT
public static float PLAYER_DEFEATED_PATHER_CRISIS_INTEREST_MULT -
AI_CORE_ADMIN_INTEREST
public static float AI_CORE_ADMIN_INTEREST -
KEY
- See Also:
-
INERTIA_DAYS_MAX
public static final float INERTIA_DAYS_MAX- See Also:
-
INERTIA_DAYS_MIN
public static final float INERTIA_DAYS_MIN- See Also:
-
CHECK_DAYS
public static final float CHECK_DAYS- See Also:
-
CHECK_PROB
public static final float CHECK_PROB- See Also:
-
start
protected long start -
cellChecker
-
timesSinceLastChange
protected int timesSinceLastChange -
activeMod
protected int activeMod -
sleeperMod
protected int sleeperMod -
cells
-
random
-
numDestroyed
protected int numDestroyed -
numSpawnChecksToSkip
protected int numSpawnChecksToSkip
-
-
Constructor Details
-
LuddicPathBaseManager
public LuddicPathBaseManager()
-
-
Method Details
-
getInstance
-
getMinConcurrent
protected int getMinConcurrent()- Specified by:
getMinConcurrent
in classBaseEventManager
-
getMaxConcurrent
protected int getMaxConcurrent()- Specified by:
getMaxConcurrent
in classBaseEventManager
-
getBaseInterval
protected float getBaseInterval()- Overrides:
getBaseInterval
in classBaseEventManager
-
readResolve
- Overrides:
readResolve
in classBaseEventManager
-
advance
public void advance(float amount) Description copied from interface:EveryFrameScript
Use SectorAPI.getClock() to convert to campaign days.- Specified by:
advance
in interfaceEveryFrameScript
- Overrides:
advance
in classBaseEventManager
- Parameters:
amount
- seconds elapsed during the last frame.
-
updateCellStatus
protected void updateCellStatus() -
getLuddicPathMarketInterest
-
createEvent
- Specified by:
createEvent
in classBaseEventManager
-
pickSystemForLPBase
-
incrDestroyed
public void incrDestroyed()
-