bitburner-src/markdown/bitburner.singularity.getcompanyfavor.md
omuretsu 06a985bdf8 Revert "Remove markdown from git tracking (#139)"
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
2022-10-21 11:16:00 -04:00

786 B

Home > bitburner > Singularity > getCompanyFavor

Singularity.getCompanyFavor() method

Get company favor.

Signature:

getCompanyFavor(companyName: string): number;

Parameters

Parameter Type Description
companyName string Name of the company.

Returns:

number

Amount of favor you have at the specified company.

Remarks

RAM cost: 1 GB * 16/4/1

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.