mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 14:12:27 +01:00
12 lines
461 B
ReStructuredText
12 lines
461 B
ReStructuredText
|
getCompanyFavor() Netscript Function
|
||
|
====================================
|
||
|
|
||
|
.. js:function:: getCompanyFavor(companyName)
|
||
|
|
||
|
:param string companyName: Name of the company. CASE-SENSITIVE
|
||
|
|
||
|
If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function.
|
||
|
|
||
|
This function will return the amount of favor you have at the specified company.
|
||
|
If the company passed in as an argument is invalid, -1 will be returned.
|