Package-level declarations
Types
Functions
Vanilla method: MiscellaneousThemeGenerator.addEntity
Vanilla method: MiscellaneousThemeGenerator.addEntityAutoDetermineType
From vanilla: CoreScript.addMiscToDropData
Vanilla method: MiscellaneousThemeGenerator.addNonSalvageEntity
Vanilla method: MiscellaneousThemeGenerator.addSalvageEntity
Returns true if it added anything to the tooltip.
Adds the given IntelInfoPlugin to the Global.getSector's com.fs.starfarer.api.campaign.comm.IntelManagerAPI.
MagicLib: Call on the center of the location, eg the star.
MagicLib: Adjust the player's reputation with the specified faction and/or person.
Automatically sizes the LabelAPI to the given text, or to the label's text if no text is given. Usage: tooltip.addPara().autoSizeToText().position.inMid()
MagicLib: Call on an asteroid.
Vanilla method: MiscellaneousThemeGenerator.createLocationAtRandomGap
Shortest distance from line to a point.
From vanilla: CoreScript.generateOrAddToDebrisFieldFromBattle
MagicLib: Call on fleet points.
MagicLib: Call on fleet points. MagicLib: Originally named getAdjustedStrength.
Probably wrong sometimes...
MagicLib: Call on an asteroid.
From vanilla: CoreScript.getCargoCommodities
MagicLib: Call on a star.
MagicLib: Call on a variant id.
MagicLib: Call on a variant id.
Vanilla method: MiscellaneousThemeGenerator.getInnerRadius
Gets an object from a JSONObject, automatically converting it to the specified type.
Gets an object from a JSONArray, automatically converting it to the specified type.
Vanilla method: MiscellaneousThemeGenerator.getLocations
pair.one can be null if a stand-alone, non-market station is being returned in pair.two.
Vanilla method: MiscellaneousThemeGenerator.getOrbitalRadius
Vanilla method: MiscellaneousThemeGenerator.getOuterRadius
MagicLib: Call on a star.
Vanilla method: com.fs.starfarer.api.impl.campaign.procgen.themes.MiscellaneousThemeGenerator.getRemnantStations
MagicLib: getStrengthDesc Call on FP float.
Bit of a hack to have this method here in SettingsAPI. It's just a way to call into some unexposed utility code.
MagicLib: Called on an angle given in degrees.
Vanilla method: MiscellaneousThemeGenerator.isAreaEmpty
Whether it prevents salvage, surveying, etc. But NOT things that require only being seen to ruin them, such as SpySat deployments.
In vanilla, pirates and Luddic Path.
From vanilla: CoreScript.markSystemAsEntered
MagicLib: Normalizes an angle given in degrees.
Vanilla method: MiscellaneousThemeGenerator.pickAnyLocation
Vanilla method: MiscellaneousThemeGenerator.pickCommonLocation
Vanilla method: MiscellaneousThemeGenerator.pickHiddenLocation
Vanilla method: MiscellaneousThemeGenerator.pickHiddenLocationNotNearStar
Vanilla method: MiscellaneousThemeGenerator.pickOuterEntityToSpawnNear
Vanilla method: MiscellaneousThemeGenerator.pickUncommonLocation
MagicLib: Call on an asteroid.
Vanilla method: MiscellaneousThemeGenerator.setEntityLocation
A flag can be set to true for several "reasons". As long as it hasn't been set back to false for all of the "reasons", it will remain set to true.
Mainly for avoiding stuff like "pirate fleet with 4 rustbuckets will run away from the player's 4 regular-quality frigates". Fleets that this evaluates to true for will avoid the player slowly.
Shows the given people in the VisualPanelAPI.
Converts a JSONArray
to a List<Long>
.
Converts a JSONArray
to a List<String>
.
Time how long it takes to run func.
Time how long it takes to run func and run onFinished afterwards. If onlyRunTraceInDevMode
is true and dev mode is disabled, onFinished
will still run but millis
will be 0.