Currently, the Lua _item() functions only interact with items in the
inventory, which does not include equipped items. This functionality
should be extended to equipped items as well, whether through the addition
of new functions or the extension of old ones.