LuaInventory::get_item_counts(item) to get all counts of a quality
Posted: Sat Sep 13, 2025 12:47 pm
A limitation of the inventory api is not being able to query for one item name and get back how many of each quality there are, you'd have to call it once for each quality or just go through get_contents().
it would be nice if we could get like a get_item_countS function or expand get_contents() support to add a filter for the name or something.
it would be nice if we could get like a get_item_countS function or expand get_contents() support to add a filter for the name or something.