Conditions module

The conditions module adds a single component, ConditionHolder, a generic holder for modifications or status effects on an Entity, as well as the Condition and ConditionModifier types, which can be accessed via prism.condition.Condition.

Load it with the following:

prism.loadModule("prism/extra/condition")

Registries

  • prism.conditions: table<string, Condition>

    The condition registry.

  • prism.modifiers: table<string, ConditionModifier>

    The condition modifier registry.

Components