Starsector API
Loading...
Searching...
No Matches
BaseShipSystemScript.java
Go to the documentation of this file.
1package com.fs.starfarer.api.impl.combat;
2
3import com.fs.starfarer.api.combat.MutableShipStatsAPI;
4import com.fs.starfarer.api.combat.ShipAPI;
5import com.fs.starfarer.api.combat.ShipSystemAPI;
6import com.fs.starfarer.api.plugins.ShipSystemStatsScriptAdvanced;
7
8public class BaseShipSystemScript implements ShipSystemStatsScriptAdvanced {
9
11 //System.out.println("wefwefe");
12 }
13
14 public void apply(MutableShipStatsAPI stats, String id, State state, float effectLevel) {
15 }
16
17 public StatusData getStatusData(int index, State state, float effectLevel) {
18 return null;
19 }
20
21 public void unapply(MutableShipStatsAPI stats, String id) {
22 }
23
24 public String getInfoText(ShipSystemAPI system, ShipAPI ship) {
25 return null;
26 }
27
28 public boolean isUsable(ShipSystemAPI system, ShipAPI ship) {
29 return true;
30 }
31
32 public float getActiveOverride(ShipAPI ship) {
33 return -1;
34 }
35 public float getInOverride(ShipAPI ship) {
36 return -1;
37 }
38 public float getOutOverride(ShipAPI ship) {
39 return -1;
40 }
41
42 public float getRegenOverride(ShipAPI ship) {
43 return -1;
44 }
45
46 public int getUsesOverride(ShipAPI ship) {
47 return -1;
48 }
49
50 public String getDisplayNameOverride(State state, float effectLevel) {
51 return null;
52 }
53}
void unapply(MutableShipStatsAPI stats, String id)
String getInfoText(ShipSystemAPI system, ShipAPI ship)
boolean isUsable(ShipSystemAPI system, ShipAPI ship)
void apply(MutableShipStatsAPI stats, String id, State state, float effectLevel)
String getDisplayNameOverride(State state, float effectLevel)
StatusData getStatusData(int index, State state, float effectLevel)