The owning actor's logic (or null/undefined for a
world/pack item, which yields an empty list — the sheet then falls back to
free-text entry).
The kind of item to list (e.g. ITEM_KIND.SKILL).
Optionalselected: null | stringThe currently-stored shortcode, if any.
Optionalexclude: null | stringA shortcode to omit (e.g. the field owner's own shortcode).
The options, sorted by label, with any dangling selection appended.
Build shortcode-reference options from an actor's embedded items of a given kind — the primary source for the widget when the referencing item is embedded on an actor. Reads
actorLogic.logicTypes[itemKind], mapping each item logic to{shortcode, name}before delegating to buildRefOptions.