Mods / Unofficial Bugfixes

Tags: #QoL #Tweak #Utility
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:

 

  1. Fix clay ovens allowing the ignition of non-fuel items such as pies.
  2. Fix clay ovens displaying "Oven is full" when attempting to add a non-bakeable item instead of "This item is not bakeable".
  3. Fix baking food in a clay oven resetting freshness. Now uses the normal partial freshness regain when cooking.
  4. Apply game time to detoxification. Sleeping now advances drunkenness loss.

  5. 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)
  6. 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.

     

  7. 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.
  8. 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.
  9. Fix attempting to take one portion out of a liquid container by holding shift being overwritten with drinking.
  10. Fix curdled milk texture having a visible band in the barrel GUI.
  11. Fix the meal tooltip not scaling nutrition numbers to the amount left.
  12. Fix freshly-created pies not stacking with full crust pies that have had their crust type changed previously.
  13. Fix slicing cheese resetting freshness. No longer affects freshness.
  14. Fix pulverizers eating their input item if there would be no output (e.g. nuggets) and the caps are too weak to crush it.
  15. Fix black bear hides requiring 10L of solvent instead of 6L.
  16. Fix bear hide soaking in limewater taking 18 hours like diluted borax instead of 20 hours like other limewater soaking.
  17. Remove uncraftable soaked bear body hides and their associated scraped hide recipes.
  18. 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.
  19. Fix golden takins having a 20% chance to break reed basket trap instead of the intended 40%.
  20. Remove the unimplemented tar liquid.
  21. Remove unimplemented powders.
  22. 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.
  23. Fix peanuts not having increased satiety in meals (160 -> 210)
  24. 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)
  25. Fix a crash when placing items into the firepit input slot with ctrl+scroll.

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
0.0.12 unofficialbugfix
1.21.6 - 1.22.0-pre.2
97 1 day ago unofficialbugfix_0.0.12.zip 1-click install
  • Add firepit crash fix
  • Add fix for non-perish timers still being shown even though they correctly didn't change
0.0.11 unofficialbugfix 210 4 days ago unofficialbugfix_0.0.11.zip 1-click install
  • Add non-perish transition in meals patch
  • Add peanut patch
0.0.10 unofficialbugfix 41 Feb 8th at 6:31 PM unofficialbugfix_0.0.10.zip 1-click install
  • Fix XSkills compatibility by disabling the clay oven freshness patch when it is present.
  • Improve lang file and compatibility logging.
  • Make compatibility easier to implement.
  • Prepare for a implementing a better granular system in case a patch is incompatibility with more than one mod.
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
  • Add pulverizer patch
0.0.7 unofficialbugfix Feb 4th at 6:05 AM 1-click install
  • Improve patching practices
  • Add tar patch
  • Add soaked bear body hide patch
  • Add liquid combine patch
  • Add unimplemented powders patch
  • Add black bear hide soaking cost patch
  • Add bear hide limewater soaking time patch
  • Add curdled milk texture patch
  • Add liquid drink override patch
0.0.6 unofficialbugfix
1.21.5 - 1.21.6
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


18 Comments (oldest first | newest first)

MrScarysGhoul, 21 hours ago

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

image

I'm not using the other mod associated with fixing this specific bug. 

lazula , 1 day ago

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.

wojtek16, 2 days ago

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!

lazula , 4 days ago

Desolae It's both server and client side, so players will automatically download it when they join.

Desolae, 4 days ago

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?

lazula , 4 days ago

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.

Desolae, 6 days ago

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.

ChimMAG, Feb 8th at 7:28 PM

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! 👍

lazula , Feb 8th at 6:32 PM (modified Feb 8th at 7:47 PM)

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)

ChimMAG, Feb 5th at 5:53 AM

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.

Maoman, Feb 5th at 5:48 AM

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?

ChimMAG, Feb 5th at 5:08 AM

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:

  • XLib
  • XSkills
  • xSkills Gilded
  • Dear ImGui
  • Config lib
ChimMAG, Feb 5th at 4:31 AM

The direct download links are missing; the latest available version is 0.0.6. Currently, only “1-click-install” is available.

 

lazula , Feb 4th at 8:03 PM

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.

ChimMAG, Feb 4th at 5:04 PM

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.

 

lazula , Feb 4th at 3:58 PM

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.

ChimMAG, Feb 4th at 11:51 AM

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.

adres4t, Jul 8th 2025 at 5:41 PM

will this work in 20.12 if I change the version dependency?