ProficiencyCondition ​
Inherits: EntityCondition < Condition < Resource
Checks the level of an entity in a proficiency: "has Lockpicking 25 or more", "is untrained in swords". Only players train proficiencies; any other entity has the starting level of the proficiency. The level counts the temporary boosts. Uses EntityCondition targeting to determine which entity to check.
Properties ​
int | proficiency_id | 0 |
int | required_level | 1 |
Condition.CheckLogic | level_check_logic | Condition.CheckLogic.GREATER_EQUAL |
Methods ​
bool | evaluate_entity( entity: Entity ) |
String | get_entity_description() |
String | get_entity_function_description() |
Property descriptions ​
Proficiency Check
int proficiency_id = 0 ​
The proficiency
int required_level = 1 ​
The level to compare with
Condition.CheckLogic level_check_logic = Condition.CheckLogic.GREATER_EQUAL ​
How the level of the entity is compared with the required level
Method descriptions ​
bool evaluate_entity( entity: Entity ) ​
Is the condition met for this entity?
String get_entity_description() ​
A short text about what the condition checks on the entity.
String get_entity_function_description() ​
The sentence the editor shows for the condition, with {placeholders} for its values.