First, I had a missing comma. If you are not getting an error, it is not loading the files you are changing :D
search_property = "subgroup" <------ missing comma
search_property_value = ""
After that, and changing item to "item", it is working fine for me:
...
29.132 Script @DeepPockets/data-final-fixes.lua:10: Setting stack size of angels-iron-nugget from 200 to 1000 because of override
29.132 Script @DeepPockets/data-final-fixes.lua:10: Setting stack size of angels-iron-pebbles from 200 to 1000 because of override
29.132 Script @DeepPockets/data-final-fixes.lua:10: Setting stack size of angels-iron-slag from 200 to 1000 because of override
29.132 Script @DeepPockets/data-final-fixes.lua:10: Setting stack size of angels-ore1-chunk from 200 to 1000 because of override
29.132 Script @DeepPockets/data-final-fixes.lua:10: Setting stack size of angels-ore1-crushed from 200 to 1000 because of override
29.132 Script @DeepPockets/data-final-fixes.lua:10: Setting stack size of angels-ore1-crystal from 200 to 1000 because of override
29.132 Script @DeepPockets/data-final-fixes.lua:10: Setting stack size of angels-ore1-pure from 200 to 1000 because of override
29.132 Script @DeepPockets/data-final-fixes.lua:10: Setting stack size of angels-ore2-chunk from 200 to 1000 because of override
...
29.132 Script @DeepPockets/data-final-fixes.lua:10: Setting stack size of angels-ore9-crystal from 200 to 1000 because of override
29.132 Script @DeepPockets/data-final-fixes.lua:10: Setting stack size of angels-ore9-dust from 200 to 1000 because of override
29.132 Script @DeepPockets/data-final-fixes.lua:10: Setting stack size of angels-ore9-powder from 200 to 1000 because of override
...
There is a faster way to do the searching, but doing it subgroup-by-subgroup isn't causing me any problems. If you have like 1500 items and it's taking a while, then I'd be worried.
This is what I have at the end of user.lua:
local extra_subgroups = {
"ore-processing-a",
"ore-processing-b",
"ore-processing-c",
"ore-processing-d",
"ore-processing-t0",
}
local stack_data = {
from = "override",
category = "item",
size = 1000,
search_property = "subgroup",
search_property_value = ""
}
for _, subgroup in pairs(extra_subgroups) do
stack_data.search_property_value = subgroup
SearchByCategory(stack_data)
end
all the indentation is messed up. Not important.