public class Cryorevival extends BaseIndustry implements MarketImmigrationModifier
Modifier and Type | Class and Description |
---|---|
static class |
Cryorevival.CryosleeperFactor |
Industry.AICoreDescriptionMode, Industry.ImprovementDescriptionMode, Industry.IndustryTooltipMode
Modifier and Type | Field and Description |
---|---|
static float |
ALPHA_CORE_BONUS |
static float |
IMPROVE_BONUS |
static float |
MAX_BONUS_DIST_LY |
static float |
MAX_BONUS_WHEN_UNMET_DEMAND |
static float |
MIN_BONUS_MULT |
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 |
---|
Cryorevival() |
addAICoreSection, addAICoreSection, addBetaCoreDescription, addGammaCoreDescription, addGroundDefensesImpactSection, addImprovedSection, addInstalledItemsSection, addNonAICoreInstalledItems, addPostDescriptionSection, addPostSupplySection, addPostUpkeepSection, addRightAfterDescriptionSection, addStabilityPostDemandSection, addUnknownCoreDescription, adjustCommodityDangerLevel, adjustItemDangerLevel, adjustMarineTokensToRaidItem, advance, apply, applyAICoreModifiers, applyAICoreToIncomeAndUpkeep, applyBetaCoreModifiers, applyBetaCoreSupplyAndDemandModifiers, applyDeficitToProduction, applyGammaCoreModifiers, applyGammaCoreSupplyAndDemandModifiers, applyImproveModifiers, applyIncomeAndUpkeep, buildingFinished, buildNextInQueue, canBeDisrupted, cancelUpgrade, canDowngrade, canImproveToIncreaseProduction, canInstallAICores, canShutDown, canUpgrade, clearUnmodified, clone, createTooltip, 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, getCurrentImage, 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, 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 static float ALPHA_CORE_BONUS
public static float IMPROVE_BONUS
public static float MIN_BONUS_MULT
public static float MAX_BONUS_DIST_LY
public static float MAX_BONUS_WHEN_UNMET_DEMAND
public void unapply()
unapply
in interface Industry
unapply
in class BaseIndustry
protected boolean hasPostDemandSection(boolean hasDemand, Industry.IndustryTooltipMode mode)
hasPostDemandSection
in class BaseIndustry
protected void addPostDemandSection(TooltipMakerAPI tooltip, boolean hasDemand, Industry.IndustryTooltipMode mode)
addPostDemandSection
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 modifyIncoming(MarketAPI market, PopulationComposition incoming)
modifyIncoming
in interface MarketImmigrationModifier
protected void applyAlphaCoreModifiers()
applyAlphaCoreModifiers
in class BaseIndustry
protected void applyNoAICoreModifiers()
applyNoAICoreModifiers
in class BaseIndustry
protected void applyAlphaCoreSupplyAndDemandModifiers()
applyAlphaCoreSupplyAndDemandModifiers
in class BaseIndustry
protected void addAlphaCoreDescription(TooltipMakerAPI tooltip, Industry.AICoreDescriptionMode mode)
addAlphaCoreDescription
in class BaseIndustry
public boolean canImprove()
canImprove
in interface Industry
canImprove
in class BaseIndustry
public void addImproveDesc(TooltipMakerAPI info, Industry.ImprovementDescriptionMode mode)
addImproveDesc
in interface Industry
addImproveDesc
in class BaseIndustry
public static Pair<SectorEntityToken,java.lang.Float> getNearestCryosleeper(Vector2f locInHyper, boolean usable)
public static float getDistancePopulationMult(Vector2f locInHyper)
protected float getDemandMetPopulationMult()
protected float getImmigrationBonus()
protected float getMaxImmigrationBonus()
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.