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

32 lines
806 B
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. 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