public class BlueprintGroundRaidObjectivePluginImpl extends BaseGroundRaidObjectivePluginImpl
| Modifier and Type | Field and Description |
|---|---|
protected int |
bpUseScale |
protected CargoAPI |
looted |
static float |
PROBABILITY_TO_DROP_BP_NOT_DROPPED_BEFORE |
assignedForcesColumnColor, assignedForcesColumnText, id, marinesAssigned, marinesRequired, market, nameOverride, quantityLooted, source, xpGainedQUANTITY_SORT_TIER_0, QUANTITY_SORT_TIER_1, QUANTITY_SORT_TIER_2, QUANTITY_SORT_TIER_3, QUANTITY_SORT_TIER_4, QUANTITY_SORT_TIER_5, XP_GAIN_VALUE_MULT| Constructor and Description |
|---|
BlueprintGroundRaidObjectivePluginImpl(MarketAPI market) |
| Modifier and Type | Method and Description |
|---|---|
Industry |
computeSource() |
void |
createTooltip(TooltipMakerAPI t,
boolean expanded) |
CommoditySpecAPI |
getCommoditySpec() |
MarketCMD.RaidDangerLevel |
getDangerLevel() |
java.util.Set<java.lang.String> |
getDropped() |
CargoAPI |
getLooted() |
java.lang.String |
getName() |
int |
getProjectedCreditsValue() |
float |
getQuantity(int marines) |
Pair<java.lang.Integer,java.lang.Integer> |
getQuantityRange() |
float |
getQuantitySortValue() |
java.lang.String |
getQuantityString(int marines) |
CargoStackAPI |
getStackForIcon() |
int |
getValue(int marines) |
java.lang.String |
getValueString(int marines) |
boolean |
hasTooltip() |
int |
performRaid(CargoAPI loot,
java.util.Random random,
float lootMult,
TextPanelAPI text) |
void |
setSource(Industry source) |
addIcons, getAssignedForcesColumnColor, getAssignedForcesColumnText, getCargoSpaceNeeded, getCommodityIdForDeficitIcons, getDeficitCaused, getDisruptedAlreadyColor, getDisruptedAlreadyString, getDisruptionDaysColor, getDisruptionDaysSort, getDisruptionDaysString, getFuelSpaceNeeded, getIconName, getId, getMarinesAssigned, getMarinesRequired, getMarket, getNameOverride, getQuantityColor, getQuantityLooted, getSource, getSourceString, getTooltipWidth, getValueColor, getValueSortValue, getXpGained, isTooltipExpandable, setAssignedForcesColumnColor, setAssignedForcesColumnText, setId, setMarinesAssigned, setMarinesRequired, setMarket, setNameOverride, setQuantityLooted, setXpGained, withContinueBeforeResultpublic static float PROBABILITY_TO_DROP_BP_NOT_DROPPED_BEFORE
protected int bpUseScale
public BlueprintGroundRaidObjectivePluginImpl(MarketAPI market)
public void setSource(Industry source)
setSource in interface GroundRaidObjectivePluginsetSource in class BaseGroundRaidObjectivePluginImplpublic int getProjectedCreditsValue()
public CommoditySpecAPI getCommoditySpec()
public MarketCMD.RaidDangerLevel getDangerLevel()
getDangerLevel in interface GroundRaidObjectivePlugingetDangerLevel in class BaseGroundRaidObjectivePluginImplpublic float getQuantitySortValue()
public java.lang.String getQuantityString(int marines)
getQuantityString in interface GroundRaidObjectivePlugingetQuantityString in class BaseGroundRaidObjectivePluginImplpublic java.lang.String getValueString(int marines)
getValueString in interface GroundRaidObjectivePlugingetValueString in class BaseGroundRaidObjectivePluginImplpublic int getValue(int marines)
getValue in class BaseGroundRaidObjectivePluginImplpublic Pair<java.lang.Integer,java.lang.Integer> getQuantityRange()
public float getQuantity(int marines)
getQuantity in class BaseGroundRaidObjectivePluginImplpublic Industry computeSource()
public java.lang.String getName()
public CargoStackAPI getStackForIcon()
getStackForIcon in interface GroundRaidObjectivePlugingetStackForIcon in class BaseGroundRaidObjectivePluginImplpublic java.util.Set<java.lang.String> getDropped()
public int performRaid(CargoAPI loot, java.util.Random random, float lootMult, TextPanelAPI text)
public boolean hasTooltip()
hasTooltip in interface GroundRaidObjectivePluginhasTooltip in class BaseGroundRaidObjectivePluginImplpublic void createTooltip(TooltipMakerAPI t, boolean expanded)
createTooltip in interface GroundRaidObjectivePlugincreateTooltip in class BaseGroundRaidObjectivePluginImpl