mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 06:32:26 +01:00
35 lines
712 B
Markdown
35 lines
712 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getFactionFavor](./bitburner.singularity.getfactionfavor.md)
|
|
|
|
## Singularity.getFactionFavor() method
|
|
|
|
Get faction favor.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
getFactionFavor(faction: string): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| faction | string | Name of faction. |
|
|
|
|
<b>Returns:</b>
|
|
|
|
number
|
|
|
|
Amount of favor you have for the specified faction.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 1 GB
|
|
|
|
Singularity - Level 2
|
|
|
|
This function returns the amount of favor you have for the specified faction.
|
|
|