Reference › Function reference › Conditions

Conditions.item.itemHelp

dependency

Call as

Conditions.item.itemHelp(frame)

Record the dependency Conditions.item.itemHelp, then call it by that name. A namespaced call does not pass self: use a colon call or pass the object yourself.

What it does

Adds the item condition editors' help text to frame: the shared item widget help, a gap, and a note on how item sets, bag counts and restricted observations are evaluated.

Arguments

NameTypeWhat it does
frametableHelp container the text is added to.

Returns

Nothing.

Editions

Built In helpers are registered on every edition. What differs is the game API they read; where one is missing the helper falls back or returns nil with a reason.

It reads no game API directly.

How the addon calls it

Dependencies

Source

Conditions/item.lua, line 52. Read only in game; Duplicate makes an editable copy.

Conditions.item.itemHelp(frame)
    addon.layout_condition_itemwidget_help(frame)
    frame:AddChild(helpers.Gap())
    frame:AddChild(helpers.CreateText(L["Item sets are checked in priority order. Bag counts use the first carried candidate, not the sum. Availability, range and cooldown checks use the first carried or equipped candidate. Missing or restricted observations stay unavailable, including under NOT."]))

Back to Function reference