mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-17 13:13:49 +01:00
1.1 KiB
1.1 KiB
Home > bitburner > Corporation > bribe
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 and getConstants to get this information.
-
The specified faction must offer at least 1 type of work. You can use getFactionWorkTypes to get the list of work types of a faction.
Signature:
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