RequirementFaction ​
Inherits: Requirement < Resource
Requires entity to have a minimum reputation with a faction
Properties ​
int | faction_id | 0 |
int | minimum_reputation | 0 |
String | standing_name | "" |
Methods ​
bool | check( entity: Entity ) |
Array[Dictionary] | validate() |
String | get_failure_message( entity: Entity ) |
String | get_summary() |
Property descriptions ​
int faction_id = 0 ​
ID of the faction (leave empty to use FactionDefinition directly)
int minimum_reputation = 0 ​
Minimum reputation value required
String standing_name = "" ​
Named reputation level (e.g., "Friendly", "Allied")
Method descriptions ​
bool check( entity: Entity ) ​
Does the entity meet the requirement?
Array[Dictionary] validate() ​
No faction chosen means the requirement asks nothing
String get_failure_message( entity: Entity ) ​
The reason shown when the entity does not meet the requirement.
String get_summary() ​
A short text about the requirement and its settings.