mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
1.1 KiB
1.1 KiB
Home > bitburner > Corporation > createCorporation
Corporation.createCorporation() method
Create a Corporation. You should use canCreateCorporation to check if you are unsure you can do it, because it throws an error in these cases:
-
Use seed money outside BitNode 3.
-
Be in a BitNode that has CorporationSoftcap (a BitNode modifier) less than 0.15.
Signature:
createCorporation(corporationName: string, selfFund?: boolean): boolean;
Parameters
| Parameter | Type | Description |
|---|---|---|
| corporationName | string | Name of the corporation. It must be a non-empty string. |
| selfFund | boolean | (Optional) If you want to self-fund. Defaults to true, false will only work in BitNode 3. |
Returns:
boolean
true if created and false if not
Remarks
RAM cost: 20 GB