Skip to content

Has Trinket Slot

Compares the amount of trinket slots an entity has to a specified value.

Type ID: shappoli:trinket_slot_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 slots.
compare_to Integer 1 The amount of slots to compare with.

Examples

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

This example checks if the entity has at least 1 trinket slot in the chest group.