Files
bitburner-src/markdown/bitburner.corpconstants.md
Michael Taylor dcd2f33f7c CODEBASE: Update api-documentor and api-extractor (#2320)
* Update api-documentor and api-extractor. #1566 follow-up.

I have verified that the HTML/markdown table generation bug in
[#4878](https://github.com/microsoft/rushstack/issues/4878) in rushstack
for api-documentor has been fixed as per rushstack#5256. The testcase
[repro](https://github.com/catloversg/api-documenter-bug-pr-4578) now
produces the correct expected output.

I have confirmed that the generated output in bitburner from
`npm run doc` now generated HTML tables, and correctly inserts
a blank line between the </table> and the follow line (e.g. Returns).

Stylisticly it could use some whitespace, but it is correctly rendered.

This commit is only the updated packages, not the updated generated
documentation. I assume that is automatically generated by the GitHub
workflow.

* Follow up to 5f732a6f35, include `npm run doc` changed docs.

* Add missing license info

* Fix React warning

---------

Co-authored-by: CatLover <152669316+catloversg@users.noreply.github.com>
2025-09-26 14:52:39 -07:00

6.2 KiB

Home > bitburner > CorpConstants

CorpConstants interface

Corporation related constants

Signature:

interface CorpConstants 

Properties

Property

Modifiers

Type

Description

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