Skip to main content

Accessory (Item Condition Type)

Checks whether the stack is something an accessory mod recognises as equippable in an accessory slot.

Type ID: apoli:accessory (alias apoli:trinket)

note

This type only exists when an accessory mod is installed: Trinkets, Accessories or Curios, depending on your loader. A pack that uses it must depend on one.

Fields

This condition has no fields.

Examples

{
  "type": "apoli:prevent_item_use",
  "item_condition": { "type": "apoli:accessory" }
}

This origin can't use accessories at all.

{
  "type": "apoli:modify_inventory",
  "item_condition": { "type": "apoli:accessory" },
  "item_action": { "type": "apoli:damage", "amount": 1 }
}

This action only damages the accessories in the inventory.