GetCarryItemUse
Whether the left mouse button on a carry item, or on an item class, is the mode’s.
For an item: its own setting, else its class’s. For a class: the class’s rule alone.
Syntax
Section titled “Syntax”GetCarryItemUse(what)| Parameter | Type | |
|---|---|---|
what |
number|string | a carry item’s entity id, or an item class |
Returns
Section titled “Returns”boolean, string - whether the button is the mode’s, and the hint’s text ("" the game’s own)
Example
Section titled “Example”local usable, label = GetCarryItemUse(lantern)See also
Section titled “See also”SetCarryItemUse · the Carry items group of the index
