Mods / Unofficial Bugfixes
Author: lazula
Side: Both
Created: Jun 23rd 2025 at 1:30 AM
Last modified: 1 day ago
Downloads: 987
Follow Unfollow 42
Recommended download (for Vintage Story 1.21.6 - 1.22.0-pre.2):
unofficialbugfix_0.0.12.zip
1-click install
Many of these patches have been included in the 1.22 prerelease!
Compatibility with 1.21.6 will be maintained until the full release of 1.22.
This mod exists to allow any contributions I make to the game to be available publicly before they're part of an official release. This mod is inherently intrusive into the base game and may not be compatible with other mods. New patches will be available for the most recent release. They may still work on older versions, but no guarantees.
If this mod has compatibility issues, feel free to ask for a fix. Currently, if the patch is in code, I will likely only be able to do this by disabling it entirely, but this may change in the future as I am looking into better approaches. If you are a modder and want to provide you own compatibility, be aware that I both JSON patches and Harmony. Some of the comments in the source may help identify potential problems. You may reuse my code as long as you adhere to the GPL-3.0 license.
Currently disables related patches for compatibility with the following mods when present:
- SlowTox: 4, 5 (slowtox implements these fixes itself, patches here are disabled to prevent clashing that causes performance problems)
- XSkills: 3 (caused only the first item to bake properly due to XSkills saving/restoring only that item for tracking xp gain)
Currently contains the following patches:
- Fix clay ovens allowing the ignition of non-fuel items such as pies.
- Fix clay ovens displaying "Oven is full" when attempting to add a non-bakeable item instead of "This item is not bakeable".
- Fix baking food in a clay oven resetting freshness. Now uses the normal partial freshness regain when cooking.
-
Apply game time to detoxification. Sleeping now advances drunkenness loss.
- Scale the amount of intoxication from drinking alcohol by the amount consumed. (i.e. without the patch, ANY amount of alcohol will apply the intoxication of a full litre)
- Chapter 1 spoiler:
Spoiler!
Fix the library gasifier burning its entire inventory after 8 hours instead of 1 piece of fuel, and reduce maximum capacity from 64 to 4, which lasts 32 hours.
- Fix adding liquid to a container (bucket, barrel, etc.) retaining the container's freshness and ignoring the freshness of the added liquid. Liquid freshness is now averaged in the same way as combining perishable item stacks.
- Fix perishable liquids that have started spoiling (with the percentage displayed) not having their satiety and health gain reduced. Tooltips now properly display this fact.
- Fix attempting to take one portion out of a liquid container by holding shift being overwritten with drinking.
- Fix curdled milk texture having a visible band in the barrel GUI.
- Fix the meal tooltip not scaling nutrition numbers to the amount left.
- Fix freshly-created pies not stacking with full crust pies that have had their crust type changed previously.
- Fix slicing cheese resetting freshness. No longer affects freshness.
- Fix pulverizers eating their input item if there would be no output (e.g. nuggets) and the caps are too weak to crush it.
- Fix black bear hides requiring 10L of solvent instead of 6L.
- Fix bear hide soaking in limewater taking 18 hours like diluted borax instead of 20 hours like other limewater soaking.
- Remove uncraftable soaked bear body hides and their associated scraped hide recipes.
- Fix the soldering iron recipe adding extra durability. Because there isn't a single clear fix for this, I decided to simply directly copy the durability from the chisel to the soldering iron. This means a 400/600 durability chisel creates a 400/500 durability soldering iron.
- Fix golden takins having a 20% chance to break reed basket trap instead of the intended 40%.
- Remove the unimplemented tar liquid.
- Remove unimplemented powders.
- Fix bear hide armor having no durability repair recipe (condition repair via linen, etc. already worked). Any piece can now be fully repaired with a large, huge, or bear pelt, with or without the head.
- Fix peanuts not having increased satiety in meals (160 -> 210)
- Fix non-perish transitions occurring in meals, e.g. cassava or modded foods continuing to dry and causing bugs when they try to transition into non-food items. (In 0.0.11, the fix for these timers still being displayed was incorrectly left out, but they were still correctly prevented from advancing. This was fixed in 0.0.12)
- Fix a crash when placing items into the firepit input slot with ctrl+scroll.
| Mod Version | Mod Identifier | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|---|
| 0.0.12 | unofficialbugfix | 97 | 1 day ago | unofficialbugfix_0.0.12.zip | 1-click install | ||
| |||||||
| 0.0.11 | unofficialbugfix | 210 | 4 days ago | unofficialbugfix_0.0.11.zip | 1-click install | ||
| |||||||
| 0.0.10 | unofficialbugfix | 41 | Feb 8th at 6:31 PM | unofficialbugfix_0.0.10.zip | 1-click install | ||
| |||||||
| 0.0.9 | unofficialbugfix | 24 | Feb 5th at 1:34 AM | unofficialbugfix_0.0.9.zip | 1-click install | ||
|
Corrected approach to calling a base class method in Harmony | |||||||
| 0.0.8 | unofficialbugfix | Feb 4th at 11:38 PM | 1-click install | ||||
| |||||||
| 0.0.7 | unofficialbugfix | Feb 4th at 6:05 AM | 1-click install | ||||
| |||||||
| 0.0.6 | unofficialbugfix | 96 | Dec 24th 2025 at 2:54 AM | unofficialbugfix_0.0.6.zip | 1-click install | ||
|
Reed roots being collectable by hands once harvested was intended behavior. | |||||||
| 0.0.5 | unofficialbugfix | 117 | Nov 29th 2025 at 8:18 AM | unofficialbugfix_0.0.5.zip | 1-click install | ||
|
Hotfix: Account for a bug where some meals are incorrectly created with ingredient stack sizes of 0, which caused nutrition numbers to be displayed as 0. | |||||||
| 0.0.4 | unofficialbugfix | 62 | Nov 26th 2025 at 11:37 PM | Empty | unofficialbugfix_0.0.4.zip | 1-click install | |
| 0.0.3 | unofficialbugfix | 123 | Nov 7th 2025 at 5:18 AM | unofficialbugfix_0.0.3.zip | 1-click install | ||
|
Fix 5 bugs in 1.21.5 | |||||||
| 0.0.2 | unofficialbugfix | 104 | Jul 2nd 2025 at 9:43 PM | unofficialbugfix_0.0.2.zip | 1-click install | ||
|
Fix IAnimalFoodSource.IsSuitableFor | |||||||
| 0.0.1 | unofficialbugfix | 82 | Jun 23rd 2025 at 1:35 AM | unofficialbugfix_0.0.1.zip | 1-click install | ||
|
Fix BETrough.GetBlockInfo | |||||||
I'm on version 0.11 and using expanded foods 2.0.0. My food is still converting to aged meats while in crocks. My game version is 1.21.6
I'm not using the other mod associated with fixing this specific bug.
wojtek16 Any currently-existing meals will have the fix applied. The only thing it can't do is reverse it if an ingredient already completely dried out.
Also, I accidentally left out a fix for non-perish timers still being displayed even though they were correctly being stopped from advancing. This has been fixed in 0.0.12.
For bug fix 24, does it only impact new meals? I just wanted to check for my future crock meals, thank you for all of these fixes!
Desolae It's both server and client side, so players will automatically download it when they join.
Thank you!!!! Also I couldn't tell by looking at the modinfo.json - is this a server-side only mod? Or do I put it on my multiplayer server and anyone who connects will download it automatically?
Desolae 0.0.11 includes a backport of this patch. I copied the existing code over and added my own fix for the prerelease bug that causes all meals to always display full freshness. I've submitted that fix to the developers so it should be in a prerelease soon.
Should be fine with other mods as long as they use normal meal container types. I'm not familiar with those food mods so I don't know of edge cases to test out, but I tried it with them just putting redmeat in a meal and it seems to work.
I hear there's a bug with cassava continuing to dry even after being put in a meal (being fixed in 1.22) - any chance you could add that one here? It's causing problems in 1.21 food mods with aged meat mechanics (ACA/EF) and I have a small kernel of hope that all those could be fixed if just the 1.22 cassava drying fix was imported back to 1.21.
Thank you very much, I will test it. So it wasn't a waste of time to spend quite a lot of time identifying this incompatibility! 👍
ChimMAG The new release 0.0.10 disables the freshness carryover for baking in clay ovens (currently patch #3 in the mod description) when XSkills is enabled, so baking will go back to making completely fresh items, but everything else should work as expected. Please report any other problems you notice. I will continue supporting 1.21.6 until the full release of 1.22. (edit: wrote .5 instead of .6)
Without the UnOfficial mod, but with these mods, there is no bug.
With the UnOfficial mod, but without these mods, there is no bug either.
The bug only occurs when both UnOfficial and xLib/xSkill are present at the same time.
P.S. ConfigLib can be removed from the list, as it does not cause the bug.
ChimMAG do those libraries still cause the bug when they are enabled by themselves or are they simply required by other mods that cause the bug?
Using the same binary method, I found five mods (not counting yours) that cause this bug. These five mods are related to each other. Here is the list:
The direct download links are missing; the latest available version is 0.0.6. Currently, only “1-click-install” is available.
ChimMAG Yes, I will need a full list to see which mod causes the issue. I tried checking with the mods listed on your forum post and couldn't reproduce it. Please provide the full list inside a spoiler tag so that the comment isn't excessively long and I will check, or do the binary search again but leave this mod on the whole time and tell me which one is causing the problem.
Yes, I have a total of 88 mods. I searched using the “binary method,” that is, I removed half of the mods at each stage. This is how I determined that the bug disappears when your mod is not present, and that it is the only one responsible for this. I agree that it is very likely that the issue is related to mod compatibility. I can provide a complete list of mods in the build.
ChimMAG I have not made any changes related to how items in ovens heat up. I'm assuming by "process of elimination" you mean that you removed individual mods until it worked correctly? It doesnt occur with my mod alone, so this is a compatibility issue which I will investigate rather than a bug in my own mod. As said in the description, compatibility will be spotty because of how intrusive my changes have to be, but I'll see what I can do for this.
The problem with the clay oven: I put four pieces of dough in it, all four items heat up to 95-85 degrees, and then the heating stops (I assume this is because the first piece of dough placed in the oven exceeds 100 degrees). Only this first piece of dough turns into bread, while the rest remain slightly heated and that's it. The first piece may char, but the remaining three will still be dough. In fact, the oven's capacity for baking bread has decreased fourfold.
Here is my thread from the official forum, where you can also find a screenshot of the problem.
By process of elimination, I found that this bug is caused by this mod. For now, I have removed it from the build.
will this work in 20.12 if I change the version dependency?