public class Farming extends BaseIndustry implements MarketImmigrationModifier
Industry.AICoreDescriptionMode, Industry.ImprovementDescriptionMode, Industry.IndustryTooltipMode
Modifier and Type | Field and Description |
---|---|
static java.util.Set<java.lang.String> |
AQUA_PLANETS |
aiCoreId, BASE_VALUE_TEXT, buildCostOverride, building, buildProgress, buildTime, currTooltipMode, DEFAULT_IMPROVE_SUPPLY_BONUS, demand, DEMAND_REDUCTION, demandReduction, demandReductionFromOther, dKey, hasInstallableItems, hiddenOverride, id, improved, income, market, SIZE_FOR_LARGE_IMAGE, SIZE_FOR_SMALL_IMAGE, spec, special, supply, SUPPLY_BONUS, supplyBonus, supplyBonusFromOther, upgradeId, upkeep, UPKEEP_MULT, wasDisrupted
Constructor and Description |
---|
Farming() |
Modifier and Type | Method and Description |
---|---|
MarketCMD.RaidDangerLevel |
adjustCommodityDangerLevel(java.lang.String commodityId,
MarketCMD.RaidDangerLevel level) |
MarketCMD.RaidDangerLevel |
adjustItemDangerLevel(java.lang.String itemId,
java.lang.String data,
MarketCMD.RaidDangerLevel level)
Includes nonecon "commodities" such as AI cores.
|
void |
apply() |
protected boolean |
canImproveToIncreaseProduction() |
void |
createTooltip(Industry.IndustryTooltipMode mode,
TooltipMakerAPI tooltip,
boolean expanded) |
java.lang.String |
getCurrentImage() |
java.lang.String |
getUnavailableReason() |
boolean |
isAvailableToBuild() |
void |
modifyIncoming(MarketAPI market,
PopulationComposition incoming) |
boolean |
showWhenUnavailable() |
void |
unapply() |
addAICoreSection, addAICoreSection, addAlphaCoreDescription, addBetaCoreDescription, addGammaCoreDescription, addGroundDefensesImpactSection, addImproveDesc, addImprovedSection, addInstalledItemsSection, addNonAICoreInstalledItems, addPostDemandSection, addPostDescriptionSection, addPostSupplySection, addPostUpkeepSection, addRightAfterDescriptionSection, addStabilityPostDemandSection, addUnknownCoreDescription, adjustMarineTokensToRaidItem, advance, apply, applyAICoreModifiers, applyAICoreToIncomeAndUpkeep, applyAlphaCoreModifiers, applyAlphaCoreSupplyAndDemandModifiers, applyBetaCoreModifiers, applyBetaCoreSupplyAndDemandModifiers, applyDeficitToProduction, applyGammaCoreModifiers, applyGammaCoreSupplyAndDemandModifiers, applyImproveModifiers, applyIncomeAndUpkeep, applyNoAICoreModifiers, buildingFinished, buildNextInQueue, canBeDisrupted, cancelUpgrade, canDowngrade, canImprove, canInstallAICores, canShutDown, canUpgrade, clearUnmodified, clone, demand, demand, demand, demand, disruptionFinished, doPostSaveRestore, doPreSaveCleanup, downgrade, finishBuildingOrUpgrading, generateCargoForGatheringPoint, getAICoreId, getAllDeficit, getAllDeficit, getAllDemand, getAllSupply, getBaseStabilityMod, getBaseUpkeep, getBuildCost, getBuildCostOverride, getBuildOrUpgradeDaysText, getBuildOrUpgradeProgress, getBuildOrUpgradeProgressText, getBuildProgress, getBuildTime, getCanNotShutDownReason, getCargoForInteractionMode, getCargoTitleForGatheringPoint, getCommodityEconUnitMult, getCurrentName, getDeficitMult, getDeficitText, getDemand, getDemandReduction, getDemandReductionFromOther, getDescriptionOverride, getDisruptedDays, getDisruptedKey, getId, getImproveBonusXP, getImproveDialogTitle, getImprovementsDescForModifiers, getImproveMenuText, getImproveProductionBonus, getImproveSoundId, getImproveStoryPoints, getIncome, getInstallableItems, getMarket, getMaxDeficit, getModId, getModId, getNameForModifier, getPatherInterest, getSizeMult, getSizeMult, getSpec, getSpecialItem, getStabilityAffectingDeficit, getStabilityPenalty, getSupply, getSupplyBonus, getSupplyBonusFromOther, getTooltipWidth, getUpkeep, getVisibleInstalledItems, hasPostDemandSection, init, initWithParams, isAICoreId, isBuilding, isDemandLegal, isDisrupted, isFunctional, isHidden, isImproved, isIndustry, isOther, isStructure, isSupplyLegal, isTooltipExpandable, isUpgrading, modifyStabilityWithBaseMod, notifyBeingRemoved, notifyColonyRenamed, notifyDisrupted, readResolve, reapply, sendBuildOrUpgradeMessage, setAICoreId, setBuildCostOverride, setBuildProgress, setDisrupted, setDisrupted, setHidden, setImproved, setSpecialItem, showShutDown, startBuilding, startUpgrading, supply, supply, supply, supply, unmodifyStabilityWithBaseMod, updateAICoreToSupplyAndDemandModifiers, updateImprovementSupplyAndDemandModifiers, updateIncomeAndUpkeep, updateSupplyAndDemandModifiers, upgradeFinished, wantsToUseSpecialItem, writeReplace
public void unapply()
unapply
in interface Industry
unapply
in class BaseIndustry
public boolean isAvailableToBuild()
isAvailableToBuild
in interface Industry
isAvailableToBuild
in class BaseIndustry
public boolean showWhenUnavailable()
showWhenUnavailable
in interface Industry
showWhenUnavailable
in class BaseIndustry
public java.lang.String getUnavailableReason()
getUnavailableReason
in interface Industry
getUnavailableReason
in class BaseIndustry
public void createTooltip(Industry.IndustryTooltipMode mode, TooltipMakerAPI tooltip, boolean expanded)
createTooltip
in interface Industry
createTooltip
in class BaseIndustry
public void modifyIncoming(MarketAPI market, PopulationComposition incoming)
modifyIncoming
in interface MarketImmigrationModifier
public java.lang.String getCurrentImage()
getCurrentImage
in interface Industry
getCurrentImage
in class BaseIndustry
protected boolean canImproveToIncreaseProduction()
canImproveToIncreaseProduction
in class BaseIndustry
public MarketCMD.RaidDangerLevel adjustCommodityDangerLevel(java.lang.String commodityId, MarketCMD.RaidDangerLevel level)
adjustCommodityDangerLevel
in interface Industry
adjustCommodityDangerLevel
in class BaseIndustry
public MarketCMD.RaidDangerLevel adjustItemDangerLevel(java.lang.String itemId, java.lang.String data, MarketCMD.RaidDangerLevel level)
Industry
adjustItemDangerLevel
in interface Industry
adjustItemDangerLevel
in class BaseIndustry
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.