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

36 lines
1.1 KiB
Markdown
Raw Normal View History

<!-- 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; [bribe](./bitburner.corporation.bribe.md)
## Corporation.bribe() method
Bribe a faction. You must satisfy these conditions:
- The corporation valuation must be greater than or equal to a threshold. You can use [getCorporation](./bitburner.corporation.getcorporation.md) and [getConstants](./bitburner.corporation.getconstants.md) to get this information.
- The specified faction must offer at least 1 type of work. You can use [getFactionWorkTypes](./bitburner.singularity.getfactionworktypes.md) to get the list of work types of a faction.
**Signature:**
```typescript
bribe(factionName: string, amountCash: number): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| factionName | string | Faction name |
| amountCash | number | Amount of money to bribe |
**Returns:**
boolean
true if successful, false if not
## Remarks
RAM cost: 20 GB