Skip to content

HasEquippedCondition ​

Inherits: EntityCondition < Condition < Resource

Check if entity has specific equipment items equipped Evaluates whether the entity has the required equipment items currently equipped

Properties ​

intitem_id0

Methods ​

boolevaluate_entity( entity: Entity )
Stringget_entity_description()
Stringget_entity_function_description()

Property descriptions ​

Equipment Checks

int item_id = 0 ​

Item ID to check for in the entity's equipped slots

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.