Interface CorpConstants

Corporation related constants

interface CorpConstants {
    baseProductProfitMult: number;
    bribeAmountPerReputation: number;
    bribeThreshold: number;
    dividendMaxRate: number;
    employeePositions: CorpEmployeePosition[];
    employeeRaiseAmount: number;
    employeeSalaryMultiplier: number;
    gameCyclesPerCorpStateCycle: number;
    gameCyclesPerMarketCycle: number;
    industryNames: CorpIndustryName[];
    initialShares: number;
    issueNewSharesCooldown: number;
    marketCyclesPerEmployeeRaise: number;
    materialNames: CorpMaterialName[];
    maxProductsBase: number;
    minEmployeeDecay: number;
    officeInitialCost: number;
    officeInitialSize: number;
    officeSizeUpgradeCostBase: number;
    researchNames: CorpResearchName[];
    researchNamesBase: CorpResearchName[];
    researchNamesProductOnly: CorpResearchName[];
    secondsPerMarketCycle: number;
    sellSharesCooldown: number;
    sharesPerPriceUpdate: number;
    smartSupplyOptions: CorpSmartSupplyOption[];
    stateNames: CorpStateName[];
    teaCostPerEmployee: number;
    unlockNames: CorpUnlockName[];
    upgradeNames: CorpUpgradeName[];
    warehouseInitialCost: number;
    warehouseInitialSize: number;
    warehouseSizeUpgradeCostBase: number;
}

Properties

baseProductProfitMult: number
bribeAmountPerReputation: number
bribeThreshold: number
dividendMaxRate: number
employeePositions: CorpEmployeePosition[]

Names of all employee positions

employeeRaiseAmount: number
employeeSalaryMultiplier: number

Conversion factor for employee stats to initial salary

gameCyclesPerCorpStateCycle: number
gameCyclesPerMarketCycle: number
industryNames: CorpIndustryName[]

Names of all industries

initialShares: number
issueNewSharesCooldown: number

Cooldown for issue new shares cooldown in game cycles (1 game cycle = 200ms)

marketCyclesPerEmployeeRaise: number
materialNames: CorpMaterialName[]

Names of all materials

maxProductsBase: number

Max products for a division without upgrades

minEmployeeDecay: number

The minimum decay value for morale/energy

officeInitialCost: number
officeInitialSize: number
officeSizeUpgradeCostBase: number
researchNames: CorpResearchName[]

Names of all researches

researchNamesBase: CorpResearchName[]

Names of all researches common to all industries

researchNamesProductOnly: CorpResearchName[]

Names of all researches only available to product industries

secondsPerMarketCycle: number
sellSharesCooldown: number

Cooldown for selling shares in game cycles (1 game cycle = 200ms)

sharesPerPriceUpdate: number

When selling large number of shares, price is dynamically updated for every batch of this amount

smartSupplyOptions: CorpSmartSupplyOption[]
stateNames: CorpStateName[]

Names of all corporation game states

teaCostPerEmployee: number
unlockNames: CorpUnlockName[]

Names of all one-time corporation-wide unlocks

upgradeNames: CorpUpgradeName[]

Names of all corporation-wide upgrades

warehouseInitialCost: number
warehouseInitialSize: number
warehouseSizeUpgradeCostBase: number