Skip to content

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 ​

intproficiency_id0
intrequired_level1
Condition.CheckLogiclevel_check_logicCondition.CheckLogic.GREATER_EQUAL

Methods ​

boolevaluate_entity( entity: Entity )
Stringget_entity_description()
Stringget_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.