bitburner-src/markdown/bitburner.corporation.createcorporation.md

38 lines
1001 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Corporation](./bitburner.corporation.md) &gt; [createCorporation](./bitburner.corporation.createcorporation.md)
## Corporation.createCorporation() method
Create a Corporation.
**Signature:**
```typescript
createCorporation(corporationName: string, selfFund: boolean): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| corporationName | string | Name of the corporation |
| selfFund | boolean | 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
This function throws an error if:
- Use seed money outside BitNode 3.
- Be in a BitNode that has CorporationSoftcap (a BN modifier) less than 0.15. Use [getBitNodeMultipliers](./bitburner.ns.getbitnodemultipliers.md) to get the value of this modifier.