I attempted to use a glimmering roc feather at level 3 via the automatic [use] link on acquisition
I just tried testing my patch on a level 10 multi with a frozen banquet, but I couldn't:
- eat it via a CLI command or the Item Manager
- eat it via the KoL interface
- eat it via a use link after "acquiring" it from the mall or my closet, since Mafia doesn't add a [use] link to items that don't meet the level requirement.
The only way I could try to eat it was via the /eat chat macro:
Code:
> inv frozen banquet
frozen banquet (2)
> /eat frozen banquet
Ingesting a frozen banquet.
[color=red]Item level too high.[/color]
> inv frozen banquet
frozen banquet (3)
I hadn't realized that, at this point of UseItemRequest.parseConsumption(), the item hasn't been removed from inventory yet. I updated the post with the patch one more time.