public class ShipWeaponsGroundRaidObjectivePluginImpl extends BaseGroundRaidObjectivePluginImpl
Modifier and Type | Field and Description |
---|---|
static float |
CARGO_SPACE_PER_LARGE |
static float |
CARGO_SPACE_PER_MEDIUM |
static float |
CARGO_SPACE_PER_SMALL |
protected CommodityOnMarketAPI |
com |
protected CargoAPI |
looted |
static float |
SELL_MULT |
static float |
VALUE_DEFICIT |
static float |
VALUE_EXCESS |
static float |
VALUE_NORMAL |
static float |
VALUE_OVERALL |
assignedForcesColumnColor, assignedForcesColumnText, id, marinesAssigned, marinesRequired, market, nameOverride, quantityLooted, source, xpGained
QUANTITY_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 |
---|
ShipWeaponsGroundRaidObjectivePluginImpl(MarketAPI market) |
Modifier and Type | Method and Description |
---|---|
void |
addIcons(IconGroupAPI iconGroup) |
void |
createTooltip(TooltipMakerAPI t,
boolean expanded) |
float |
getBaseRaidValue() |
java.lang.String |
getCommodityIdForDeficitIcons() |
MarketCMD.RaidDangerLevel |
getDangerLevel() |
CargoAPI |
getLooted() |
java.lang.String |
getName() |
int |
getProjectedCreditsValue() |
protected float |
getQMult(int tier) |
float |
getQuantity(int marines) |
float |
getQuantitySortValue() |
java.lang.String |
getQuantityString(int marines) |
CargoStackAPI |
getStackForIcon() |
int |
getValue(int marines) |
java.lang.String |
getValueString(int marines) |
CommoditySpecAPI |
getWeaponsCommoditySpec() |
boolean |
hasTooltip() |
int |
performRaid(CargoAPI loot,
java.util.Random random,
float lootMult,
TextPanelAPI text) |
getAssignedForcesColumnColor, getAssignedForcesColumnText, getCargoSpaceNeeded, 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, setSource, setXpGained, withContinueBeforeResult
public static float CARGO_SPACE_PER_LARGE
public static float CARGO_SPACE_PER_MEDIUM
public static float CARGO_SPACE_PER_SMALL
public static float SELL_MULT
public static float VALUE_NORMAL
public static float VALUE_EXCESS
public static float VALUE_DEFICIT
public static float VALUE_OVERALL
protected CommodityOnMarketAPI com
protected CargoAPI looted
public ShipWeaponsGroundRaidObjectivePluginImpl(MarketAPI market)
public void addIcons(IconGroupAPI iconGroup)
addIcons
in interface GroundRaidObjectivePlugin
addIcons
in class BaseGroundRaidObjectivePluginImpl
public int getProjectedCreditsValue()
public CommoditySpecAPI getWeaponsCommoditySpec()
public MarketCMD.RaidDangerLevel getDangerLevel()
getDangerLevel
in interface GroundRaidObjectivePlugin
getDangerLevel
in class BaseGroundRaidObjectivePluginImpl
public float getQuantitySortValue()
public java.lang.String getQuantityString(int marines)
getQuantityString
in interface GroundRaidObjectivePlugin
getQuantityString
in class BaseGroundRaidObjectivePluginImpl
public java.lang.String getValueString(int marines)
getValueString
in interface GroundRaidObjectivePlugin
getValueString
in class BaseGroundRaidObjectivePluginImpl
public int getValue(int marines)
getValue
in class BaseGroundRaidObjectivePluginImpl
public float getQuantity(int marines)
getQuantity
in class BaseGroundRaidObjectivePluginImpl
public float getBaseRaidValue()
public java.lang.String getName()
public CargoStackAPI getStackForIcon()
getStackForIcon
in interface GroundRaidObjectivePlugin
getStackForIcon
in class BaseGroundRaidObjectivePluginImpl
public java.lang.String getCommodityIdForDeficitIcons()
getCommodityIdForDeficitIcons
in interface GroundRaidObjectivePlugin
getCommodityIdForDeficitIcons
in class BaseGroundRaidObjectivePluginImpl
protected float getQMult(int tier)
public int performRaid(CargoAPI loot, java.util.Random random, float lootMult, TextPanelAPI text)
public boolean hasTooltip()
hasTooltip
in interface GroundRaidObjectivePlugin
hasTooltip
in class BaseGroundRaidObjectivePluginImpl
public void createTooltip(TooltipMakerAPI t, boolean expanded)
createTooltip
in interface GroundRaidObjectivePlugin
createTooltip
in class BaseGroundRaidObjectivePluginImpl
public CargoAPI getLooted()
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.