Function to evaluate ItemWithQualityCount with ItemFilter
Posted: Fri Oct 24, 2025 9:25 pm
Does a standard function exist to check if an Item satisfies a Filter?
Given for example an item:
{name = "automation-science-pack", quality = "normal"}
and a filter:
{name = "automation-science-pack", quality = "uncommon", comparator = "<"}
I want to check if the item satisfies the filter and don't want to write my own function if it's not needed.
https://lua-api.factorio.com/stable/con ... ilter.html
https://lua-api.factorio.com/stable/con ... Count.html
Given for example an item:
{name = "automation-science-pack", quality = "normal"}
and a filter:
{name = "automation-science-pack", quality = "uncommon", comparator = "<"}
I want to check if the item satisfies the filter and don't want to write my own function if it's not needed.
https://lua-api.factorio.com/stable/con ... ilter.html
https://lua-api.factorio.com/stable/con ... Count.html