public class Spaceport extends BaseIndustry implements MarketImmigrationModifier
Industry.AICoreDescriptionMode, Industry.ImprovementDescriptionMode, Industry.IndustryTooltipMode| Modifier and Type | Field and Description |
|---|---|
static float |
ALPHA_CORE_ACCESSIBILITY |
static float |
BASE_ACCESSIBILITY |
static float |
IMPROVE_ACCESSIBILITY |
static float |
MEGAPORT_ACCESSIBILITY |
static float |
OFFICER_PROB_MOD |
static float |
OFFICER_PROB_MOD_MEGA |
static float |
UPKEEP_MULT_PER_DEFICIT |
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 |
|---|
Spaceport() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAlphaCoreDescription(TooltipMakerAPI tooltip,
Industry.AICoreDescriptionMode mode) |
void |
addImproveDesc(TooltipMakerAPI info,
Industry.ImprovementDescriptionMode mode) |
protected void |
addPostDemandSection(TooltipMakerAPI tooltip,
boolean hasDemand,
Industry.IndustryTooltipMode mode) |
void |
apply() |
protected void |
applyAlphaCoreModifiers() |
protected void |
applyAlphaCoreSupplyAndDemandModifiers() |
protected void |
applyImproveModifiers() |
protected void |
applyNoAICoreModifiers() |
boolean |
canImprove() |
float |
getPopulationGrowthBonus() |
protected Pair<java.lang.String,java.lang.Integer> |
getUpkeepAffectingDeficit() |
protected float |
getUpkeepPenalty(Pair<java.lang.String,java.lang.Integer> deficit) |
protected boolean |
hasPostDemandSection(boolean hasDemand,
Industry.IndustryTooltipMode mode) |
void |
modifyIncoming(MarketAPI market,
PopulationComposition incoming) |
void |
unapply() |
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, 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, getUnavailableReason, getUpkeep, getVisibleInstalledItems, init, initWithParams, isAICoreId, isAvailableToBuild, 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, setMarket, setSpecialItem, showShutDown, showWhenUnavailable, startBuilding, startUpgrading, supply, supply, supply, supply, unmodifyStabilityWithBaseMod, updateAICoreToSupplyAndDemandModifiers, updateImprovementSupplyAndDemandModifiers, updateIncomeAndUpkeep, updateSupplyAndDemandModifiers, upgradeFinished, wantsToUseSpecialItem, writeReplacepublic static float OFFICER_PROB_MOD
public static float OFFICER_PROB_MOD_MEGA
public static float UPKEEP_MULT_PER_DEFICIT
public static float BASE_ACCESSIBILITY
public static float MEGAPORT_ACCESSIBILITY
public static float ALPHA_CORE_ACCESSIBILITY
public static float IMPROVE_ACCESSIBILITY
public Spaceport()
public void unapply()
unapply in interface Industryunapply in class BaseIndustryprotected float getUpkeepPenalty(Pair<java.lang.String,java.lang.Integer> deficit)
protected Pair<java.lang.String,java.lang.Integer> getUpkeepAffectingDeficit()
protected boolean hasPostDemandSection(boolean hasDemand, Industry.IndustryTooltipMode mode)
hasPostDemandSection in class BaseIndustryprotected void addPostDemandSection(TooltipMakerAPI tooltip, boolean hasDemand, Industry.IndustryTooltipMode mode)
addPostDemandSection in class BaseIndustrypublic float getPopulationGrowthBonus()
public void modifyIncoming(MarketAPI market, PopulationComposition incoming)
modifyIncoming in interface MarketImmigrationModifierprotected void applyAlphaCoreModifiers()
applyAlphaCoreModifiers in class BaseIndustryprotected void applyNoAICoreModifiers()
applyNoAICoreModifiers in class BaseIndustryprotected void applyAlphaCoreSupplyAndDemandModifiers()
applyAlphaCoreSupplyAndDemandModifiers in class BaseIndustryprotected void addAlphaCoreDescription(TooltipMakerAPI tooltip, Industry.AICoreDescriptionMode mode)
addAlphaCoreDescription in class BaseIndustrypublic boolean canImprove()
canImprove in interface IndustrycanImprove in class BaseIndustryprotected void applyImproveModifiers()
applyImproveModifiers in class BaseIndustrypublic void addImproveDesc(TooltipMakerAPI info, Industry.ImprovementDescriptionMode mode)
addImproveDesc in interface IndustryaddImproveDesc in class BaseIndustry