bitburner-src/markdown/bitburner.singularity.getfactionfavor.md

33 lines
693 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Singularity](./bitburner.singularity.md) &gt; [getFactionFavor](./bitburner.singularity.getfactionfavor.md)
## Singularity.getFactionFavor() method
Get faction favor.
**Signature:**
```typescript
getFactionFavor(faction: string): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| faction | string | Name of faction. |
**Returns:**
number
Amount of favor you have for the specified faction.
## Remarks
RAM cost: 1 GB \* 16/4/1
This function returns the amount of favor you have for the specified faction.