2023-12-16 10:27:22 +01:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getFactionInviteRequirements](./bitburner.singularity.getfactioninviterequirements.md)
|
|
|
|
|
|
|
|
## Singularity.getFactionInviteRequirements() method
|
|
|
|
|
|
|
|
List conditions for being invited to a faction.
|
|
|
|
|
|
|
|
**Signature:**
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
getFactionInviteRequirements(faction: string): PlayerRequirement[];
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| faction | string | Name of the faction |
|
|
|
|
|
|
|
|
**Returns:**
|
|
|
|
|
|
|
|
[PlayerRequirement](./bitburner.playerrequirement.md)<!-- -->\[\]
|
|
|
|
|
|
|
|
Array of PlayerRequirement objects which must all be fulfilled to receive an invitation.
|
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
|
|
|
RAM cost: 3 GB \* 16/4/1
|
|
|
|
|
|
|
|
## Example
|
|
|
|
|
|
|
|
|
|
|
|
```js
|
2024-05-27 23:42:31 +02:00
|
|
|
ns.singularity.getFactionInviteRequirements("The Syndicate");
|
|
|
|
|
2023-12-16 10:27:22 +01:00
|
|
|
[
|
|
|
|
{ "type": "someCondition", "conditions": [
|
|
|
|
{ "type": "city", "city": "Aevum" },
|
|
|
|
{ "type": "city", "city": "Sector-12" }
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{ "type": "not", "condition": {
|
|
|
|
"type": "employedBy", "company": "Central Intelligence Agency"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{ "type": "not", "condition": {
|
|
|
|
"type": "employedBy", "company": "National Security Agency"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{ "type": "money", "money": 10000000 },
|
|
|
|
{ "type": "skills", "skills": { "hacking": 200 } },
|
2024-05-27 23:42:31 +02:00
|
|
|
{ "type": "skills", "skills": { "strength": 200 } },
|
|
|
|
{ "type": "skills", "skills": { "defense": 200 } },
|
|
|
|
{ "type": "skills", "skills": { "dexterity": 200 } },
|
|
|
|
{ "type": "skills", "skills": { "agility": 200 } },
|
2023-12-16 10:27:22 +01:00
|
|
|
{ "type": "karma", "karma": -90 }
|
|
|
|
]
|
|
|
|
```
|
|
|
|
|