Trying to add storage filters to some mods, help please

hello hello

I’m currently working on adding storage filters to some of my installed mods, like “Better Storage” does to make them compatible with that mod
Disclaimer: I do NOT intend to openly publish my modifications or otherwise undermine the work of the original creators in any way, I will however share my modifications with the authors so they can incorporate them into their mods if desired

alright
so i started with “Box O’ Vox” (beautiful mod) which actually mixes storage filters into the “Better Storage” filters (i think, at least it looks that way to me) and i want to add at least every food item to the stockpile filter, just because i like precise and discriminative filters
I’m using the orignal files from both aforementioned mods as templates and it seems to work quite well …for the “Ingredients” tag, now i finished raw veggies and ran into a little problem:
20180906161603_1
as you can see the “Prepared Food” and “Cooking Ingredients” tags snuck themselves into the ingredients list and i have no idea why… i went back and added these lines with no change
“mixintypes”: {
“prepared_food”: “remove”,
“cooking_ingredient”: “remove”
}

I’m hoping someone can help me with this, I’m fairly new to modding and so far I merely made simple edits
(like changing the Northern Alliance slightly to better work in the temperate biome and things like that)
greetings
kaetzer

probably missing ending brackets making the next items still be counted in the previous category

not the case, but thanks anyway
I’m using notepad++, it highlights unbracketed/-quoted characters and similar coding errors

Did you have a prepared_food filter inside that category?

nope, only “stockpile_raw_food” and the respective filter for each item, like “apple” or “orange”

But I’ll take an even closer look later, I’m tired… also the problem only appears with the Raw Food category, the Prepared Food category is completely fine

anyway, here’s the code

{
    "type": "index",
    "stockpile": {
        "food_and_drink": {
            "display_name": "i18n(stonehearth:ui.data.constants.food_veggie_raw_name)",
            "filter": "food_and_drink",
            "ordinal": 14,
            "categories": {
                "apple": {
                   "ordinal": 14,
                   "display_name": "i18n(box_o_vox:entities.food.apple.display_name)",
                   "icon": "/box_o_vox/entities/food/apple/apple/apple.png",
                   "filter": "stockpile_raw_food apple"
                },
				"banana": {
                   "ordinal": 15,
                   "display_name": "i18n(box_o_vox:entities.food.banana.display_name)",
                   "icon": "/box_o_vox/entities/food/banana/banana/banana.png",
                   "filter": "stockpile_raw_food banana"
                },
                "lime": {
                   "ordinal": 16,
                   "display_name": "i18n(box_o_vox:entities.food.lime.display_name)",
                   "icon": "/box_o_vox/entities/food/lime/lime/lime.png",
                   "filter": "stockpile_raw_food lime"
                },
                "orange": {
                   "ordinal": 17,
                   "display_name": "i18n(box_o_vox:entities.food.orange.display_name)",
                   "icon": "/box_o_vox/entities/food/orange/orange/orange.png",
                   "filter": "stockpile_raw_food orange"
                },
                "potato_basket": {
                   "ordinal": 18,
                   "display_name": "i18n(box_o_vox:entities.plants.potato.potato_basket.display_name)",
                   "icon": "/box_o_vox/entities/food/potato/potato_basket/potato_basket.png",
                   "filter": "stockpile_raw_food potato"
                },
                "strawberry_basket": {
                   "ordinal": 19,
                   "display_name": "i18n(box_o_vox:entities.plants.strawberry.strawberry_basket.display_name)",
                   "icon": "/box_o_vox/entities/food/strawberry/strawberry_basket/strawberry_basket.png",
                   "filter": "stockpile_raw_food strawberry"
                },
                "tomato_basket": {
                   "ordinal": 20,
                   "display_name": "i18n(box_o_vox:entities.plants.tomato.tomato_basket.display_name)",
                   "icon": "/box_o_vox/entities/food/tomato/tomato_basket/tomato_basket.png",
                   "filter": "stockpile_raw_food tomato"
                },
                "mixintypes": {
                    "prepared_food": "remove",
                    "cooking_ingredient": "remove"
                }
            }
        },
        "cooking_ingredients": {
            "display_name": "i18n(betterstorage:filters.cooking_ingredients)",
            "filter": "cooking_ingredients",
            "ordinal": 16,
            "categories": {
                "cheese": {
                    "ordinal": 8,
                    "display_name": "i18n(box_o_vox:entities.food.cheese.display_name)",
                    "icon": "/box_o_vox/entities/food/cheese/cheese.png",
                    "filter": "stockpile_cooking_ingredient cheese"
                },
                "cream": {
                    "ordinal": 9,
                    "display_name": "i18n(box_o_vox:entities.food.cream.display_name)",
                    "icon": "/box_o_vox/entities/food/cream/cream.png",
                    "filter": "stockpile_cooking_ingredient cream"
                },
                "dough": {
                    "ordinal": 10,
                    "display_name": "i18n(box_o_vox:entities.food.dough.display_name)",
                    "icon": "/box_o_vox/entities/food/dough/dough.png",
                    "filter": "stockpile_cooking_ingredient dough"
                },
                "milk": {
                    "ordinal": 11,
                    "display_name": "i18n(box_o_vox:entities.food.milk.display_name)",
                    "icon": "/box_o_vox/entities/food/milk/milk.png",
                    "filter": "stockpile_cooking_ingredient milk"
                },
                "pepper": {
                    "ordinal": 12,
                    "display_name": "i18n(box_o_vox:entities.food.pepper.display_name)",
                    "icon": "/box_o_vox/entities/food/pepper/pepper.png",
                    "filter": "stockpile_cooking_ingredient pepper"
                },
                "peppercorn": {
                    "ordinal": 13,
                    "display_name": "i18n(box_o_vox:entities.food.peppercorn.display_name)",
                    "icon": "/box_o_vox/entities/food/peppercorn/peppercorn.png",
                    "filter": "stockpile_cooking_ingredient peppercorn"
                },
                "pepperoni": {
                    "ordinal": 14,
                    "display_name": "i18n(box_o_vox:entities.food.pepperoni.display_name)",
                    "icon": "/box_o_vox/entities/food/pepperoni/pepperoni.png",
                    "filter": "stockpile_cooking_ingredient pepperoni"
                },
                "salt": {
                    "ordinal": 15,
                    "display_name": "i18n(box_o_vox:entities.food.salt.display_name)",
                    "icon": "/box_o_vox/entities/food/salt/salt.png",
                    "filter": "stockpile_cooking_ingredient salt"
                }
            }
        },
        "animal_feed": {
            "display_name": "i18n(betterstorage:filters.animal_feed)",
            "filter": "animal_feed",
            "ordinal": 18,
            "categories": {
                "cow_feed": {
                    "ordinal": 4,
                    "display_name": "i18n(box_o_vox:entities.food.cow_feed.display_name)",
                    "icon": "/box_o_vox/entities/food/cow_feed/cow_feed.png",
                    "filter": "stockpile_cooking_ingredient animal_feed cow_feed"
                },
                "pig_feed": {
                    "ordinal": 5,
                    "display_name": "i18n(box_o_vox:entities.food.pig_feed.display_name)",
                    "icon": "/box_o_vox/entities/food/pig_feed/pig_feed.png",
                    "filter": "stockpile_cooking_ingredient animal_feed pig_feed"
                }
            }
        },
        "cooked_food": {
            "display_name": "i18n(stonehearth:ui.data.constants.prepared_food_resource_name)",
            "filter": "cooked_food",
            "ordinal": 23,
            "categories": {
                "apple_pie": {
                    "ordinal": 9,
                    "display_name": "Apple Pie",
                    "icon": "/box_o_vox/entities/food/apple_pie/apple_pie/apple_pie.png",
                    "filter": "apple_pie stockpile_prepared_food"
                },
                "banana_cream_pie": {
                    "ordinal": 10,
                    "display_name": "Banana Cream Pie",
                    "icon": "/box_o_vox/entities/food/banana_cream_pie/banana_cream_pie/banana_cream_pie.png",
                    "filter": "banana_pie stockpile_prepared_food"
                },
                "beef_rib_roast": {
                    "ordinal": 11,
                    "display_name": "Beef Rib Roast",
                    "icon": "/box_o_vox/entities/food/beef_rib_roast/beef_rib_roast/beef_rib_roast.png",
                    "filter": "beef_rib_roast stockpile_prepared_food"
                },
                "fruit_salad": {
                    "ordinal": 12,
                    "display_name": "Fruit Salad",
                    "icon": "/box_o_vox/entities/food/fruit_salad/fruit_salad/fruit_salad.png",
                    "filter": "fruit_salad stockpile_prepared_food"
                },
                "fruit_smoothie": {
                    "ordinal": 13,
                    "display_name": "Fruit Smoothie",
                    "icon": "/box_o_vox/entities/food/fruit_smoothie/fruit_smoothie/fruit_smoothie.png",
                    "filter": "prepared_food fruit_smoothie stockpile_prepared_food"
                },
                "ground_beef": {
                    "ordinal": 14,
                    "display_name": "i18n(box_o_vox:entities.food.ground_beef.ground_beef.display_name)",
                    "icon": "/box_o_vox/entities/food/ground_beef/ground_beef/ground_beef.png",
                    "filter": "ground_beef stockpile_prepared_food"
                },
                "pizza": {
                    "ordinal": 15,
                    "display_name": "i18n(box_o_vox:entities.food.pizza.pizza.display_name)",
                    "icon": "/box_o_vox/entities/food/pizza/pizza/pizza.png",
                    "filter": "pizza stockpile_prepared_food"
                },
                "roast_rack_of_pork": {
                    "ordinal": 16,
                    "display_name": "i18n(box_o_vox:entities.food.roast_rack_of_pork.roast_rack_of_pork.display_name)",
                    "icon": "/box_o_vox/entities/food/roast_rack_of_pork/roast_rack_of_pork/roast_rack_of_pork.png",
                    "filter": "roast_rack_of_pork stockpile_prepared_food"
                }
            }
        }
    }
}

so i just put everything directly into the storage_filter.json of “Better Storage” and it’s working absolutely fine… i have no idea why…
eh, maybe i’ll figure it out someday, and then i can make a bunch of compatibility mods