mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-08 08:43:53 +01:00
1.5 KiB
1.5 KiB
Home > bitburner > Singularity > getFactionInviteRequirements
Singularity.getFactionInviteRequirements() method
List conditions for being invited to a faction.
Signature:
getFactionInviteRequirements(faction: string): PlayerRequirement[];
Parameters
Parameter | Type | Description |
---|---|---|
faction | string | Name of the faction |
Returns:
Array of PlayerRequirement objects which must all be fulfilled to receive an invitation.
Remarks
RAM cost: 3 GB * 16/4/1
Example
ns.singularity.getFactionInviteRequirements("The Syndicate")
[
{ "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 } },
{ "type": "skills", "skills": { "strength": 200, "defense": 200, "dexterity": 200, "agility": 200 } },
{ "type": "karma", "karma": -90 }
]