Skip to content

Equipped Trinket Count

Checks if this item or items of the same type are equipped in a trinket slot.

Type ID: shappoli:equipped_trinket_count

Note

This condition requires Trinkets to be installed.

Fields

Field Type Default Description
slot Trinket Slot optional Slot to check. If not specified, the condition will check for any slot.
slots Array of Trinket Slot optional Slots to check. If not specified, the condition will check for any slot.
comparison Comparison >= The comparison to use when comparing the amount of equipped trinkets.
compare_to Integer 1 The amount of equipped trinkets to compare with.

Examples

"condition": {
  "type": "shappoli:equipped_trinket_count",
  "slot": {
    "group": "chest"
  }
}

This example checks if the entity has at least 1 trinket of the same type equipped in any slot of the chest group.