|
| static WarSimScript | getInstance () |
| |
| static CountingMap< FactionAPI > | getFactionStrengths (StarSystemAPI system) |
| |
| static float | getRelativeEnemyStrength (String factionId, StarSystemAPI system) |
| |
| static float | getRelativeFactionStrength (String factionId, StarSystemAPI system) |
| |
| static float | getEnemyStrength (String factionId, StarSystemAPI system) |
| |
| static float | getEnemyStrength (FactionAPI faction, StarSystemAPI system) |
| |
| static float | getEnemyStrength (String factionId, StarSystemAPI system, boolean assumeHostileToPlayer) |
| |
| static float | getEnemyStrength (FactionAPI faction, StarSystemAPI system, boolean assumeHostileToPlayer) |
| |
| static float | getFactionStrength (String factionId, StarSystemAPI system) |
| |
| static float | getFactionStrength (FactionAPI faction, StarSystemAPI system) |
| |
| static float | getStationStrength (FactionAPI faction, StarSystemAPI system, SectorEntityToken from) |
| |
| static void | removeFightOrdersFor (SectorEntityToken target, FactionAPI faction) |
| |
| static void | setNoFightingForObjective (SectorEntityToken objective, FactionAPI faction, float timeout) |
| |
| static void | removeNoFightingTimeoutForObjective (SectorEntityToken objective, FactionAPI faction) |
| |
| static boolean | isAlreadyFightingFor (SectorEntityToken objective, FactionAPI faction) |
| |
| static LocationDanger | getDangerFor (FactionAPI faction, StarSystemAPI system) |
| |
| static LocationDanger | getDangerFor (String factionId, StarSystemAPI system) |
| |
| static LocationDanger | getDangerFor (float factionStrength, float enemyStrength) |
| |
|
| static final String | KEY = "$core_warSimScript" |
| |
| static final float | CHECK_DAYS = 10f |
| |
| static final float | CHECK_PROB = 0.5f |
| |
Definition at line 37 of file WarSimScript.java.
◆ WarSimScript()
| com.fs.starfarer.api.impl.campaign.command.WarSimScript.WarSimScript |
( |
| ) |
|
◆ addObjectiveActionResponse()
◆ advance()
| void com.fs.starfarer.api.impl.campaign.command.WarSimScript.advance |
( |
float | amount | ) |
|
◆ getBuildSimTimeoutId()
| String com.fs.starfarer.api.impl.campaign.command.WarSimScript.getBuildSimTimeoutId |
( |
SectorEntityToken | objective | ) |
|
|
protected |
◆ getControlSimTimeoutId()
| String com.fs.starfarer.api.impl.campaign.command.WarSimScript.getControlSimTimeoutId |
( |
SectorEntityToken | objective | ) |
|
|
protected |
◆ getControlTimeoutId()
◆ getDangerFor() [1/3]
| static LocationDanger com.fs.starfarer.api.impl.campaign.command.WarSimScript.getDangerFor |
( |
FactionAPI | faction, |
|
|
StarSystemAPI | system ) |
|
static |
◆ getDangerFor() [2/3]
| static LocationDanger com.fs.starfarer.api.impl.campaign.command.WarSimScript.getDangerFor |
( |
float | factionStrength, |
|
|
float | enemyStrength ) |
|
static |
◆ getDangerFor() [3/3]
| static LocationDanger com.fs.starfarer.api.impl.campaign.command.WarSimScript.getDangerFor |
( |
String | factionId, |
|
|
StarSystemAPI | system ) |
|
static |
◆ getEnemyStrength() [1/4]
| static float com.fs.starfarer.api.impl.campaign.command.WarSimScript.getEnemyStrength |
( |
FactionAPI | faction, |
|
|
StarSystemAPI | system ) |
|
static |
◆ getEnemyStrength() [2/4]
| static float com.fs.starfarer.api.impl.campaign.command.WarSimScript.getEnemyStrength |
( |
FactionAPI | faction, |
|
|
StarSystemAPI | system, |
|
|
boolean | assumeHostileToPlayer ) |
|
static |
◆ getEnemyStrength() [3/4]
| static float com.fs.starfarer.api.impl.campaign.command.WarSimScript.getEnemyStrength |
( |
String | factionId, |
|
|
StarSystemAPI | system ) |
|
static |
◆ getEnemyStrength() [4/4]
| static float com.fs.starfarer.api.impl.campaign.command.WarSimScript.getEnemyStrength |
( |
String | factionId, |
|
|
StarSystemAPI | system, |
|
|
boolean | assumeHostileToPlayer ) |
|
static |
◆ getFactionStrength() [1/2]
| static float com.fs.starfarer.api.impl.campaign.command.WarSimScript.getFactionStrength |
( |
FactionAPI | faction, |
|
|
StarSystemAPI | system ) |
|
static |
◆ getFactionStrength() [2/2]
| static float com.fs.starfarer.api.impl.campaign.command.WarSimScript.getFactionStrength |
( |
String | factionId, |
|
|
StarSystemAPI | system ) |
|
static |
◆ getFactionStrengths()
◆ getInstance()
| static WarSimScript com.fs.starfarer.api.impl.campaign.command.WarSimScript.getInstance |
( |
| ) |
|
|
static |
◆ getRelativeEnemyStrength()
| static float com.fs.starfarer.api.impl.campaign.command.WarSimScript.getRelativeEnemyStrength |
( |
String | factionId, |
|
|
StarSystemAPI | system ) |
|
static |
◆ getRelativeFactionStrength()
| static float com.fs.starfarer.api.impl.campaign.command.WarSimScript.getRelativeFactionStrength |
( |
String | factionId, |
|
|
StarSystemAPI | system ) |
|
static |
◆ getStarSystemTimeoutId()
| String com.fs.starfarer.api.impl.campaign.command.WarSimScript.getStarSystemTimeoutId |
( |
StarSystemAPI | system | ) |
|
|
protected |
◆ getStationStrength()
◆ getTimeouts()
| TimeoutTracker< String > com.fs.starfarer.api.impl.campaign.command.WarSimScript.getTimeouts |
( |
| ) |
|
◆ isAlreadyFightingFor()
| static boolean com.fs.starfarer.api.impl.campaign.command.WarSimScript.isAlreadyFightingFor |
( |
SectorEntityToken | objective, |
|
|
FactionAPI | faction ) |
|
static |
◆ isDone()
| boolean com.fs.starfarer.api.impl.campaign.command.WarSimScript.isDone |
( |
| ) |
|
◆ processStarSystem()
| void com.fs.starfarer.api.impl.campaign.command.WarSimScript.processStarSystem |
( |
StarSystemAPI | system | ) |
|
◆ readResolve()
| Object com.fs.starfarer.api.impl.campaign.command.WarSimScript.readResolve |
( |
| ) |
|
|
protected |
◆ removeFightOrdersFor()
| static void com.fs.starfarer.api.impl.campaign.command.WarSimScript.removeFightOrdersFor |
( |
SectorEntityToken | target, |
|
|
FactionAPI | faction ) |
|
static |
◆ removeNoFightingTimeoutForObjective()
| static void com.fs.starfarer.api.impl.campaign.command.WarSimScript.removeNoFightingTimeoutForObjective |
( |
SectorEntityToken | objective, |
|
|
FactionAPI | faction ) |
|
static |
◆ reportObjectiveChangedHands()
◆ reportObjectiveDestroyed()
◆ runWhilePaused()
| boolean com.fs.starfarer.api.impl.campaign.command.WarSimScript.runWhilePaused |
( |
| ) |
|
◆ setNoFightingForObjective()
| static void com.fs.starfarer.api.impl.campaign.command.WarSimScript.setNoFightingForObjective |
( |
SectorEntityToken | objective, |
|
|
FactionAPI | faction, |
|
|
float | timeout ) |
|
static |
◆ wantsToOwnObjective()
If it doesn't already own it, it's owned by an enemy, and the faction either has the closest market to it or is the strongest in-system faction.
Or: owned by a non-hostile faction that has no colony presence in the system, and this faction does
- Parameters
-
- Returns
Definition at line 246 of file WarSimScript.java.
◆ CHECK_DAYS
| final float com.fs.starfarer.api.impl.campaign.command.WarSimScript.CHECK_DAYS = 10f |
|
static |
◆ CHECK_PROB
| final float com.fs.starfarer.api.impl.campaign.command.WarSimScript.CHECK_PROB = 0.5f |
|
static |
◆ KEY
| final String com.fs.starfarer.api.impl.campaign.command.WarSimScript.KEY = "$core_warSimScript" |
|
static |
◆ queue
◆ timeouts
The documentation for this class was generated from the following file: