Add bribe

This commit is contained in:
pigalot
2022-01-13 21:05:06 +00:00
parent ea88f5f150
commit 62f40b3dc1
2 changed files with 37 additions and 2 deletions

View File

@@ -6425,6 +6425,14 @@ export interface Corporation extends WarehouseAPI, OfficeAPI {
* @returns true if you successfully go public, false if not
*/
goPublic(numShares: number): boolean;
/**
* Bribe a faction
* @param factionName - Faction name
* @param amountCash - Amount of money to bribe
* @param amountShares - Amount of shares to bribe
* @return True if successful, false if not
*/
bribe(factionName: string, amountCash: number, amountShares: number): boolean;
/**
* Get corporation data
* @returns Corporation data