IsLevelCondition ​
Inherits: EntityCondition < Condition < Resource
Checks if the target entity meets a level requirement. Uses EntityCondition targeting to determine which entity to check.
Properties ​
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 ​
Level Check
int required_level = 1 ​
The level requirement to check against
Condition.CheckLogic level_check_logic = Condition.CheckLogic.GREATER_EQUAL ​
Logic for comparing the 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.