work to make documentation unified.

This commit is contained in:
Olivier Gagnon
2021-03-12 02:51:56 -05:00
parent a00c253dcb
commit 2ce6ff2041
176 changed files with 1325 additions and 916 deletions
@@ -4,11 +4,10 @@ donateToFaction() Netscript Function
.. js:function:: donateToFaction(factionName, donateAmt)
:RAM cost: 5 GB
:param string factionName: Name of faction to donate to. CASE-SENSITIVE
:param number donateAmt: Amount of money to donate
:returns: ``true`` if you successfully donate the money.
If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function.
Attempts to donate money to the specified faction in exchange for reputation.
Returns true if you successfully donate the money, and false otherwise.
Attempts to donate money to the specified faction in exchange for reputation.