Class DarkenedGazeSystemScript
java.lang.Object
com.fs.starfarer.api.impl.combat.BaseShipSystemScript
com.fs.starfarer.api.impl.combat.dweller.DarkenedGazeSystemScript
- All Implemented Interfaces:
DwellerShroud.ShroudNegativeParticleFilter
,ShipSystemStatsScript
,ShipSystemStatsScriptAdvanced
public class DarkenedGazeSystemScript
extends BaseShipSystemScript
implements DwellerShroud.ShroudNegativeParticleFilter
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.fs.starfarer.api.plugins.ShipSystemStatsScript
ShipSystemStatsScript.State, ShipSystemStatsScript.StatusData
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(MutableShipStatsAPI stats, String id, ShipSystemStatsScript.State state, float effectLevel) protected void
findWeapons
(ShipAPI ship) getInfoText
(ShipSystemAPI system, ShipAPI ship) If null, uses "READY" and "ACTIVE" as appropritate in the ship info widget.float
getRange()
getStatusData
(int index, ShipSystemStatsScript.State state, float effectLevel) boolean
boolean
isParticleOk
(DwellerShroud shroud, org.lwjgl.util.vector.Vector2f loc) void
unapply
(MutableShipStatsAPI stats, String id) Methods inherited from class com.fs.starfarer.api.impl.combat.BaseShipSystemScript
getActiveOverride, getDisplayNameOverride, getInOverride, getOutOverride, getRegenOverride, getUsesOverride, isUsable
-
Field Details
-
SHIELD_OPENING
public static float SHIELD_OPENING -
TURN_RATE_REDUCTION
public static float TURN_RATE_REDUCTION -
DAMAGE_TAKEN_MULT
public static float DAMAGE_TAKEN_MULT -
DARKENED_GAZE_SYSTEM_TAG
-
DARKENED_GAZE_PRIMARY_WEAPON_TAG
-
weapons
-
elapsedActive
protected float elapsedActive
-
-
Constructor Details
-
DarkenedGazeSystemScript
public DarkenedGazeSystemScript()
-
-
Method Details
-
findWeapons
-
isFFAConcern
public boolean isFFAConcern() -
getRange
public float getRange() -
apply
public void apply(MutableShipStatsAPI stats, String id, ShipSystemStatsScript.State state, float effectLevel) - Specified by:
apply
in interfaceShipSystemStatsScript
- Overrides:
apply
in classBaseShipSystemScript
-
unapply
- Specified by:
unapply
in interfaceShipSystemStatsScript
- Overrides:
unapply
in classBaseShipSystemScript
-
getStatusData
public ShipSystemStatsScript.StatusData getStatusData(int index, ShipSystemStatsScript.State state, float effectLevel) - Specified by:
getStatusData
in interfaceShipSystemStatsScript
- Overrides:
getStatusData
in classBaseShipSystemScript
-
getInfoText
Description copied from interface:ShipSystemStatsScriptAdvanced
If null, uses "READY" and "ACTIVE" as appropritate in the ship info widget.- Specified by:
getInfoText
in interfaceShipSystemStatsScriptAdvanced
- Overrides:
getInfoText
in classBaseShipSystemScript
- Returns:
-
isParticleOk
- Specified by:
isParticleOk
in interfaceDwellerShroud.ShroudNegativeParticleFilter
-