Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 852 Bytes

bitburner.singularity.donatetofaction.md

File metadata and controls

33 lines (19 loc) · 852 Bytes

Home > bitburner > Singularity > donateToFaction

Singularity.donateToFaction() method

SF4.3 - Donate to a faction.

Signature:

donateToFaction(faction: string, amount: number): boolean;

Parameters

Parameter Type Description
faction string Name of faction to donate to.
amount number Amount of money to donate.

Returns:

boolean

True if the money was donated, and false otherwise.

Remarks

RAM cost: 5 GB

Attempts to donate money to the specified faction in exchange for reputation. Returns true if you successfully donate the money, and false otherwise.