Hello here, I’m happy to announce that Better Stockpile is now compatible with Stonehearth Cafe!
Just a note to @Froggy : when you add your two filters to the stockpiles, you also override some data from the main categories.
For example, this code:
{
"stockpile": {
"food_and_drink": {
"display_name": "i18n(stonehearth:ui.game.zones_mode.stockpile.filters.food_and_drink)",
"filter": "food_and_drink",
"ordinal": 5,
"categories": {
"drink_container": {
"ordinal": 4,
"display_name": "i18n(cookmod:ui.game.zones_mode.stockpile.filters.tooltip_drink_containers)",
"icon": "/cookmod/ui/game/modes/zones_mode/stockpile/images/taxonomy/drink.png",
"filter": "drink_container"
}
}
},
}
Should be like this:
{
"stockpile": {
"food_and_drink": {
"categories": {
"drink_container": {
"ordinal": 4,
"display_name": "i18n(cookmod:ui.game.zones_mode.stockpile.filters.tooltip_drink_containers)",
"icon": "/cookmod/ui/game/modes/zones_mode/stockpile/images/taxonomy/drink.png",
"filter": "drink_container"
}
}
},
}
This should ensure better compatibility with mods like Better Stockpiles. For now, because Cafe change the ordinals, the categories are a little messed up ^^"