Mods / Butchering Materials Compatibility
- Tags:
- Author:
- Arcanum3000
- Side:
- Both
- Created:
- Mar 19th at 8:03 PM
- Last modified:
- May 6th at 3:46 PM
- Downloads:
- 367
- Follow Unfollow 22
-
Recommended download (for Vintage Story 1.22.0 - 1.22.2):
butcheringmatcompat-.0.0.2.zip 1-click install
This is a simple and possibly somewhat hacky mod to enable the use of modded wood and stone types in the Butchering mod's grid recipes. Specifically the skinning hook, butchering table, and smoking rack recipes. It's possible there are other recipes I missed.
It was mostly created for my own use so I can use wood and stones from Floral Zones, Wildcraft Trees and Shrubs, Geology Additions, and Material Needs: Geology in the grid recipes. However, because other people might find that useful, and because it should work with wood and stones from other mods, I figured I'd upload it.
If CaptainOats is reading this and would like to incorporate the changes into the main mod, please, by all means, do so. All I did was change "game:" to "*:" in appropriate places in the recipes so they'll accept materials from any mod domain.
Note that adding support for stone tools using modded stones is out-of-scope; only stones used directly in grid recipes have and will be accounted for. Adding support for material classes (such as debarked logs) not already included in the recipes is also out-of-scope. Also, I'm unlikely to put much effort into trying to fix things if materials from mods I don't use behave strangely. This is a naively implemented, low effort, personal mod.
I've only tested this in 1.21.6, but it will probably work with any version that the original mod works with.
Thanks to CaptainOats for the original Butchering mod!
| Mod Version | Mod Identifier | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|---|
| 0.0.2 | butcheringmatcompat | 114 | May 6th at 3:46 PM | butcheringmatcompat-.0.0.2.zip | 1-click install | ||
|
Switched to recipe patching instead of replacement, upgrading to properly support new 1.22 recipes in the process. Thanks to Kyattono for the patching tips! | |||||||
| 0.0.1 | butcheringmatcompat | 253 | Mar 19th at 8:11 PM | butcheringmatcompat-0.0.1.zip | 1-click install | ||
|
Initial release. | |||||||
Hey! I'm going through my mods checking for incompatible mods and I re-read your description. For what it's worth I don't think this is hacky at all, that being said it is definitely incompatible with new versions since you do completely replace the recipes, which have now changed. What you can do instead is patch the recipes which will guarantee some level of compatibility when things change elsewhere in the recipe!
I'll take a look at that when I get a chance, thanks. I haven't looked at patching recipes vs. replacing them at all, so it may take a bit.
Easiest way, I've found, is convert the json5 here: https://json5.net/
Then throw that here: https://www.jsonpatchonline.com/
Edit the right side and generate the patch.
Then, pretty much all you have to do then is add the "file:" "<filepath>", line to each op and you are good, unless you need to add depends, but since this is patching a single mod it's not really necessary.
Don't have to generate back to json5 either, that step is just cause the patch editor I liked didn't use json5 and wanted stricter json format, which is fully compatible here with a json5 parser far as I have seen.
Gotcha, I'll look at that, thanks.