|
Starsector API
|
Public Member Functions | |
| void | apply () |
| void | unapply () |
| float | getPatherInterest () |
Public Member Functions inherited from com.fs.starfarer.api.impl.campaign.econ.impl.BaseIndustry | |
| BaseIndustry () | |
| MutableStat | getDemandReduction () |
| MutableStat | getSupplyBonus () |
| MutableStat | getDemandReductionFromOther () |
| MutableStat | getSupplyBonusFromOther () |
| void | setMarket (MarketAPI market) |
| void | init (String id, MarketAPI market) |
| void | apply (boolean withIncomeUpdate) |
| void | demand (String commodityId, int quantity) |
| void | demand (String commodityId, int quantity, String desc) |
| void | demand (int index, String commodityId, int quantity, String desc) |
| void | demand (String modId, String commodityId, int quantity, String desc) |
| void | supply (String commodityId, int quantity) |
| void | supply (String commodityId, int quantity, String desc) |
| void | supply (int index, String commodityId, int quantity, String desc) |
| void | supply (String modId, String commodityId, int quantity, String desc) |
| void | updateIncomeAndUpkeep () |
| float | getBuildTime () |
| Float | getBuildCostOverride () |
| void | setBuildCostOverride (float buildCostOverride) |
| float | getBuildCost () |
| float | getBaseUpkeep () |
| void | advance (float amount) |
| boolean | isBuilding () |
| boolean | isFunctional () |
| boolean | isUpgrading () |
| float | getBuildOrUpgradeProgress () |
| String | getBuildOrUpgradeDaysText () |
| String | getBuildOrUpgradeProgressText () |
| void | startBuilding () |
| void | finishBuildingOrUpgrading () |
| void | startUpgrading () |
| void | cancelUpgrade () |
| void | downgrade () |
| void | reapply () |
| void | notifyBeingRemoved (MarketInteractionMode mode, boolean forUpgrade) |
| String | getId () |
| IndustrySpecAPI | getSpec () |
| void | clearUnmodified () |
| List< MutableCommodityQuantity > | getAllDemand () |
| List< MutableCommodityQuantity > | getAllSupply () |
| MutableCommodityQuantity | getSupply (String id) |
| MutableCommodityQuantity | getDemand (String id) |
| MutableStat | getIncome () |
| MutableStat | getUpkeep () |
| MarketAPI | getMarket () |
| Pair< String, Integer > | getMaxDeficit (String ... commodityIds) |
| List< Pair< String, Integer > > | getAllDeficit () |
| List< Pair< String, Integer > > | getAllDeficit (String ... commodityIds) |
| float | getSizeMult () |
| void | doPreSaveCleanup () |
| void | doPostSaveRestore () |
| String | getCurrentImage () |
| String | getCurrentName () |
| boolean | isAvailableToBuild () |
| boolean | showWhenUnavailable () |
| String | getUnavailableReason () |
| boolean | isTooltipExpandable () |
| float | getTooltipWidth () |
| void | createTooltip (IndustryTooltipMode mode, TooltipMakerAPI tooltip, boolean expanded) |
| void | addInstalledItemsSection (IndustryTooltipMode mode, TooltipMakerAPI tooltip, boolean expanded) |
| List< SpecialItemData > | getVisibleInstalledItems () |
| boolean | wantsToUseSpecialItem (SpecialItemData data) |
| void | addAICoreSection (TooltipMakerAPI tooltip, AICoreDescriptionMode mode) |
| void | addAICoreSection (TooltipMakerAPI tooltip, String coreId, AICoreDescriptionMode mode) |
| String | getAICoreId () |
| void | setAICoreId (String aiCoreId) |
| boolean | showShutDown () |
| boolean | canShutDown () |
| String | getCanNotShutDownReason () |
| boolean | canUpgrade () |
| boolean | canDowngrade () |
| String | getNameForModifier () |
| boolean | isDemandLegal (CommodityOnMarketAPI com) |
| boolean | isSupplyLegal (CommodityOnMarketAPI com) |
| void | initWithParams (List< String > params) |
| void | setHidden (boolean hidden) |
| boolean | isHidden () |
| String | getDisruptedKey () |
| void | setDisrupted (float days) |
| void | setDisrupted (float days, boolean useMax) |
| float | getDisruptedDays () |
| boolean | canBeDisrupted () |
| boolean | isDisrupted () |
| CargoAPI | generateCargoForGatheringPoint (Random random) |
| String | getCargoTitleForGatheringPoint () |
| SpecialItemData | getSpecialItem () |
| void | setSpecialItem (SpecialItemData special) |
| boolean | isIndustry () |
| boolean | isStructure () |
| boolean | isOther () |
| void | notifyColonyRenamed () |
| boolean | canImprove () |
| float | getImproveBonusXP () |
| String | getImproveMenuText () |
| int | getImproveStoryPoints () |
| boolean | isImproved () |
| void | setImproved (boolean improved) |
| void | addImproveDesc (TooltipMakerAPI info, ImprovementDescriptionMode mode) |
| String | getImproveDialogTitle () |
| String | getImproveSoundId () |
| void | addImprovedSection (IndustryTooltipMode mode, TooltipMakerAPI tooltip, boolean expanded) |
| RaidDangerLevel | adjustCommodityDangerLevel (String commodityId, RaidDangerLevel level) |
| RaidDangerLevel | adjustItemDangerLevel (String itemId, String data, RaidDangerLevel level) |
| int | adjustMarineTokensToRaidItem (String itemId, String data, int marineTokens) |
| boolean | canInstallAICores () |
| List< InstallableIndustryItemPlugin > | getInstallableItems () |
| float | getBuildProgress () |
| void | setBuildProgress (float buildProgress) |
Public Member Functions inherited from com.fs.starfarer.api.campaign.econ.Industry | |
Definition at line 7 of file Refining.java.
| void com.fs.starfarer.api.impl.campaign.econ.impl.Refining.apply | ( | ) |
Implements com.fs.starfarer.api.campaign.econ.Industry.
Definition at line 9 of file Refining.java.
|
protected |
Reimplemented from com.fs.starfarer.api.impl.campaign.econ.impl.BaseIndustry.
Definition at line 45 of file Refining.java.
| float com.fs.starfarer.api.impl.campaign.econ.impl.Refining.getPatherInterest | ( | ) |
Reimplemented from com.fs.starfarer.api.impl.campaign.econ.impl.BaseIndustry.
Definition at line 40 of file Refining.java.
| void com.fs.starfarer.api.impl.campaign.econ.impl.Refining.unapply | ( | ) |
Reimplemented from com.fs.starfarer.api.impl.campaign.econ.impl.BaseIndustry.
Definition at line 35 of file Refining.java.