Hello I had some help with with this from Vies, but I really don't want to bother him to much and I feel like I don't understand enough to ask the right questions.
Currently have this for the folder layout, I've been zipping /assets/thunder-v1/patches/compatibility/wildcraftfruit/itemtypes/food (just realized I've had compatibility misspelled, hope that's not why)
[
{
"_comment": "Adjusts cloudberry spoil timer to make it more realistic to my needs and desires.",
"enabled": true,
"op": "replace",
"path": "/transitionablePropsByType",
"value": {
"*-cloudberry": [
{
"type": "Melt",
"freshHours": { "avg": 192 },
"transitionHours": { "avg": 256 },
"transitionedStack": {
"type": "item",
"code": "wildcraftfruit:berrymush-cloudberrymush"
},
"transitionRatio": 1
}
]
},
"file": "wildcraftfruit:assets/wildcraftfruit/itemtypes/food/fruit.json",
"dependsOn": [ { "modid": "wildcraftfruit" } ]
}
]
this is the current contents of the file, I'm trying to figure out where I'm going wrong, do the file names matter I'd assume they do but I'm not sure if all or only some matter. The Cloudberries rot too quickly to be useful for anything other than eating right away, I want to make pies with them but with the rate the spoil I'd have to carry around a table and pre made dough with me to be able to achieve my desire. When I have to travel so far afield to find them and by the time I get back to base they are already mush and useless for making pies. Since I can't have them change it for just me, I'd like to figure out how to patch this but I can't figure out how to make it work. Any help would be greatly appreciated.
This is where the file I'm trying to patch is. I have it unzipped to look at and see how it's written it's normally in the zip file as packaged from the original author.
Below is the code I'm looking to patch