bitburner-src/markdown/bitburner.singularity.donatetofaction.md
Olivier Gagnon 2b79871c02 doc
2021-11-03 00:27:21 -04:00

867 B

Home > bitburner > Singularity > donateToFaction

Singularity.donateToFaction() method

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

Singularity - Level 3

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