mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
4ab29e9c60
* minEmployeeDecay is now part of CorpConstants and has a value of 10. This replaces Office.minEne/minMor/minHap * Also removed some unnecessary files in dist/ext for MathJax * Rebuilt documentation to remove minHap/minMor/minEne from getOffice, and add minEmployeeDecay to corporation.getConstants
4.2 KiB
4.2 KiB
Home > bitburner > CorpConstants
CorpConstants interface
Corporation related constants
Signature:
interface CorpConstants
Properties
Property | Type | Description |
---|---|---|
baseProductProfitMult | number | |
bribeAmountPerReputation | number | |
bribeThreshold | number | |
coffeeCostPerEmployee | number | |
dividendMaxRate | number | |
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 happiness/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 |
stateNames | CorpStateName[] | Names of all corporation game states |
unlockNames | CorpUnlockName[] | Names of all one-time corporation-wide unlocks |
upgradeNames | CorpUpgradeName[] | Names of all corporation-wide upgrades |
warehouseInitialCost | number | |
warehouseInitialSize | number | |
warehouseSizeUpgradeCostBase | number |