ItemCondition - Septillihedron/SuperheroesPlusSchema GitHub Wiki

ItemCondition - An object

Properties

mode - Required enum

Allowed values

  • ALL
  • ITEM
  • OTHER
  • SELF

The mode of operation

Defaults to SELF

otherwise - Optional EffectList

A list of effects that will run if this condition is false

else - Optional EffectList

A list of effects that will run if this condition is false

itemComparison - Required ItemComparisonData

The item to check against

slot - Optional InventorySlot

The slot to check

Defaults to HAND

item - Required ItemComparisonData

The item to check against