Mods / RepairMe 1.21/1.22 Patch
- Tags:
- Author:
- SilverValkyrie
- Side:
- Both
- Created:
- Sep 5th 2025 at 8:57 PM
- Last modified:
- May 22nd at 5:30 PM
- Downloads:
- 4865
-
Latest release (for Vintage Story 1.22.0 - 1.22.2, potentially outdated):
repairmepatch_1.3.1.zip 1-click install
The Original mod which is currently out of date
Whetstone
Repair any tool by 25% of its total durability, while the whetstone loses 5% (from the tools total durability) each time it is used.
(Should also work for modded tools)
Flint Recipe:
1x Flint + 3x Any Stone

Variant Recipe:
1x Gem + 3x Any Board

Available Variants:
- Flint (125 Durability)
- Lapis Lazuli (300 Durability)
- Perdiot (600 Durability)
- Amethyst (1000 Durability)
- Emerald (1500 Durability)
- Diamond (2000 Durability)
Config:
{
"WhetstoneDamageAsPercent": 5, // Damage the whetstone takes, calculated as percent from the total durability of the repaired tool
"WhetstoneMinimumDamage": 10, // Flat minimum damage the whetstone will take if the %-result is below it
"ToolRestoreAsPercent": 25 // Restored durability, calculated as percent from the total durability
"DisableItemCodeArray": ["bow" ] // disables any item that contains the name in its ID. set it as array like this example to delete items with the name bow
}
| Mod Version | Mod Identifier | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|---|
| 1.3.1 | repairmepatch | 1238 | May 22nd at 5:30 PM | repairmepatch_1.3.1.zip | 1-click install | ||
|
Changed the calculation how the durability loss on the whetstonen side is calculated | |||||||
| 1.3.0 | repairmepatch | 200 | May 14th at 7:30 AM | repairmepatch_1.3.0.zip | 1-click install | ||
|
When a whetstone doesnt have enough durability an error will be now displayed | |||||||
| 1.2.0 | repairmepatch | 325 | Apr 23rd at 10:32 AM | repairmepatch_1.2.0.zip | 1-click install | ||
|
Refactor for 1.22 | |||||||
| 1.1.1 | repairmepatch | 3102 | Sep 5th 2025 at 9:03 PM | repairme.zip | 1-click install | ||
|
Patched to 1.21.0 | |||||||
Dodał byś moda na kolejną wersje?
Absolute legend! Thank you so much for forking this it's very much a must have mod.
Does this require me to install the repairme mod as well? Or is this a standalone?
its a standalone fork
Found another bug! This might be an easy fix, I've not modded for VS tho.
If you try to find the whetstone recipe (say, from another recipe by clicking the whetstone) it causes a hard crash to desktop. Another easy thing to work around, though.
I've noticed an interesting lil bug!
So far, I've only noticed it with the flint/stone (nyeheh) whetstone, but if you try to craft multiple at once (using Shift+click on the product) it'll eat all the stone but still only produce one whetstone. The flint seems to be used correctly. Easy to work around, at least; just make one at a time.
Giavivi OfficerHotpants Grudion Malfiros Vergial
i am very sorry it took so long i am currently havig private issues going on but i reworked how the dmg is calculated , the hand book crash and the use up crash are fixed now
going forward if your tool is broken and you have a whetstone at hand that normally wouldnt be enough to repair it, a partial repair is done while also consuming the whetstone.
I hope the slow update didnt withold you from playing for too long
Man, you don't owe any kind of apology. Thanks for your work though. Hope everything's okay.
No worries at all, Thanks for taking the time to keep working on the update.
Absolutely no worries! I just wanted to let you know that something was messed up. Don't need an immediate fix for it by any means. Thanks so much, and I hope your private matters are resolved soon. <3
You do this for free, I ain't complainin' for anythin' you do. I appreciate your work!
Just wanted to let you know I was not expirencing crashing until I updated to the new mod from 4 days ago. Now it is crashing when I open the handbook page. However, trying to go back to the previous version has caused it to crash on the old version as well. Thanks so much for this mod. Please don't give up. <3
Yeah, make no mistake. This mod is great. Definitely worth having. I just have to not click the handbook entry and I'm golden. That's not a difficult task.
Exactly how I feel. I am keeping this mod. I am glad it still works despite the handbook link not working. It would make me sad if the whole mod wasn't working. Not a huge deal since the author provided the recipe in the mod description. ¯\_(ツ)_/¯
Same deal as Grudion. Clicking on its entry in the handbook causes a crash. Tried testing the other crash I see mentioned but the stone I was using could not use its last point of durability to repair a copper shovel that was missing 1 point of durability. Not sure if that's a bug or just the game hiding exact numbers (like rounding 0.98 up to 1 for the GUI but still tracking the correct number under the hood).
i still have too check the handbook error , abbout the whetstone not being able to repair your equipment with to low durability is intended that was a bug in the original mod.
Basically you can repair your tool for 25% using the durability of 10% of the max Tool durability. If the whetstone doesnt have enough durability well you cant repair. Ill try make a new case to get a % repair for the remaining whetstone durability but im currently quite busy irl so it might take a couple days
It crashes for me when I try to open the recipe in the handbook.
Just to confirm: the crash bug is now fixed?
should be , are you still getting errors ?
I haven't tried it yet, I just wanted to be sure I understood it had been addressed. Thanks for your hard work! Love this mod!
Can confirm, crash still exists if whetstone is used up and there is no replacement. Null Reference Exception.
Got to fix it now, i honestly dont know why it even worked in 1.21.x
Just tested this on 1.22.2 and it's still crashing the game. It will work fine if you have multiple whetstones in your inventory for it to replenish upon breaking, but if you break the only one in your inventory, it crashes hard to desktop.
update 1.22.2 kinda fixed the issue ?????
it just broke on me and NO CRASH
did not have a spare to take its place
HU? i really should check it out now , havent had time to look at the problem yet but that would be neat if its fixed now
The crash seems to happen when using the whetstone would break it and you don't have an additional whetstone in your inventory to replace it, as it automatically pulls another whetstone into the crafting area when the first one breaks.
Same issue as below. Game crashes when whetstone would break. Items get stuck in the crafting grid (one can remove them, but they stay there after re-login)
I just got the same issue as ManManJack and Origin_Alpha_43. when Whetstone break
Running on 64 bit Windows 10.0.26200.0 with 32634 MB RAM
Game Version: v1.22.0 (Stable)
25/04/2026 15:03:44: Critical error occurred in the following mod: repairmepatch@1.2.0
Loaded Mods: game@1.22.0, repairmepatch@1.2.0, creative@1.22.0, survival@1.22.0
System.NullReferenceException: Object reference not set to an instance of an object.
at Vintagestory.API.Common.CollectibleObject.OnConsumedByCrafting(ItemSlot[] allInputSlots, ItemSlot stackInSlot, IRecipeBase recipe, IRecipeIngredient fromIngredient, IPlayer byPlayer, Int32 quantity) in VintagestoryApi\Common\Collectible\Collectible.cs:line 1049
at RepairMe.RepairItem.OnConsumedByCrafting(ItemSlot[] allInputSlots, ItemSlot stackInSlot, IRecipeBase recipe, IRecipeIngredient fromIngredient, IPlayer byPlayer, Int32 quantity) in C:\Users\auros\Desktop\modDev\RepairMe-master\RepairMe\RepairItem.cs:line 27
at Vintagestory.API.Common.RecipeBase.ConsumeWildcardMatchIngredient(ItemStack inputStack, ItemSlot inputSlot, ItemSlot[] inputSlots, List`1 wildcardAndToolIngredients, IPlayer byPlayer) in VintagestoryApi\Common\Crafting\RecipeBase.cs:line 970
at Vintagestory.API.Common.RecipeBase.ConsumeInputShapeLess(IPlayer byPlayer, ItemSlot[] inputSlots, IRecipeIngredient[] ingredients) in VintagestoryApi\Common\Crafting\RecipeBase.cs:line 743
at Vintagestory.API.Common.GridRecipe.ConsumeInput(IPlayer byPlayer, ItemSlot[] inputSlots, Int32 gridWidth) in VintagestoryApi\Common\Crafting\GridRecipe.cs:line 209
at Vintagestory.Common.InventoryCraftingGrid.ConsumeIngredients(ItemSlot outputSlot) in VintagestoryLib\Common\GameContent\Inventory\InventoryCraftingGrid.cs:line 221
at Vintagestory.Common.ItemSlotCraftingOutput.CraftSingle(ItemSlot sinkSlot, ItemStackMoveOperation& op) in VintagestoryLib\Common\GameContent\Inventory\ItemSlotCraftingOutput.cs:line 178
at Vintagestory.Common.ItemSlotCraftingOutput.TryPutInto(ItemSlot sinkSlot, ItemStackMoveOperation& op) in VintagestoryLib\Common\GameContent\Inventory\ItemSlotCraftingOutput.cs:line 62
at Vintagestory.API.Common.ItemSlotOutput.ActivateSlot(ItemSlot sourceSlot, ItemStackMoveOperation& op) in VintagestoryApi\Common\Inventory\ItemSlotOutput.cs:line 39
at Vintagestory.API.Common.InventoryBase.ActivateSlot(Int32 slotId, ItemSlot sourceSlot, ItemStackMoveOperation& op) in VintagestoryApi\Common\Inventory\InventoryBase.cs:line 461
at Vintagestory.Common.InventoryCraftingGrid.ActivateSlot(Int32 slotId, ItemSlot sourceSlot, ItemStackMoveOperation& op) in VintagestoryLib\Common\GameContent\Inventory\InventoryCraftingGrid.cs:line 114
at Vintagestory.API.Client.GuiElementItemSlotGridBase.SlotClick(ICoreClientAPI api, Int32 slotId, EnumMouseButton mouseButton, Boolean shiftPressed, Boolean ctrlPressed, Boolean altPressed) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Inventory\GuiElementItemSlotGridBase.cs:line 999
at Vintagestory.API.Client.GuiElementItemSlotGridBase.OnMouseDownOnElement(ICoreClientAPI api, MouseEvent args) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Inventory\GuiElementItemSlotGridBase.cs:line 794
at Vintagestory.API.Client.GuiElementItemSlotGridBase.OnMouseDown(ICoreClientAPI api, MouseEvent mouse) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Inventory\GuiElementItemSlotGridBase.cs:line 762
at Vintagestory.API.Client.GuiComposer.OnMouseDown(MouseEvent mouseArgs) in VintagestoryApi\Client\UI\GuiComposer.cs:line 470
at Vintagestory.Client.NoObf.GuiDialogInventory.OnMouseDown(MouseEvent args) in VintagestoryLib\Client\Systems\Gui\Dialogs\GuiDialogInventory.cs:line 551
at Vintagestory.Client.NoObf.GuiManager.OnMouseDown(MouseEvent args) in VintagestoryLib\Client\Systems\Gui\GuiManager.cs:line 401
at Vintagestory.Client.NoObf.ClientMain.UpdateMouseButtonState(EnumMouseButton button, Boolean down) in VintagestoryLib\Client\ClientMain.cs:line 2004
at Vintagestory.Client.SystemHotkeys.OnPrimaryMouseButton(KeyCombination mb) in VintagestoryLib\Client\Systems\Player\Hotkeys.cs:line 52
at Vintagestory.Client.HotkeyManager.TriggerHotKey(KeyEvent keyEventargs, IWorldAccessor world, IPlayer player, Boolean allowCharacterControls, Boolean isGlobal, Boolean fallBack, Boolean keyup) in VintagestoryLib\Client\HotkeyManager.cs:line 424
at Vintagestory.Client.HotkeyManager.TriggerHotKey(KeyEvent keyEventargs, IWorldAccessor world, IPlayer player, Boolean allowCharacterControls, Boolean keyUp) in VintagestoryLib\Client\HotkeyManager.cs:line 394
at Vintagestory.Client.HotkeyManager.OnMouseButton(ClientMain game, EnumMouseButton button, Int32 modifiers, Boolean buttonDown) in VintagestoryLib\Client\HotkeyManager.cs:line 574
at Vintagestory.Client.NoObf.ClientMain.OnMouseDownRaw(MouseEvent args) in VintagestoryLib\Client\ClientMain.cs:line 1974
at Vintagestory.Client.GuiScreenRunningGame.OnMouseDown(MouseEvent args) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 343
at Vintagestory.Client.ScreenManager.OnMouseDown(MouseEvent e) in VintagestoryLib\Client\ScreenManager.cs:line 935
at Vintagestory.Client.NoObf.ClientPlatformWindows.Mouse_ButtonDown(MouseButtonEventArgs e) in VintagestoryLib\Client\ClientPlatform\Input.cs:line 207
at OpenTK.Windowing.Desktop.NativeWindow.OnMouseDown(MouseButtonEventArgs e)
at OpenTK.Windowing.Desktop.NativeWindow.MouseButtonCallback(Window* window, MouseButton button, InputAction action, KeyModifiers mods)
--- End of stack trace from previous location ---
at OpenTK.Windowing.Desktop.NativeWindow.RethrowCallbackExceptionsIfNeeded()
at OpenTK.Windowing.Desktop.NativeWindow.ProcessWindowEvents(Boolean waitForEvents)
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 354
at Vintagestory.Client.ClientProgram.<>c__DisplayClass10_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 131
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 95
Event Log entries for Vintagestory.exe, the latest 3
==================================
{ TimeGenerated = 25/04/2026 15:03:46, Site = , Source = Application Error, Message = Nom de l'application défaillante : Vintagestory.exe, version : 1.22.0.0, horodatage : 0x693c0000
Nom du module défaillant : openal32.dll, version : 1.23.0.0, horodatage : 0x63dd31ad
Exception code: 0x40000015
Fault offset: 0x00000000000df046
Identifiant du processus défaillant : 0x8c3c
Heure de début de l'application défaillante : 0x1dcd4b3c6057eef
I just got the same issue as ManManJack
Worked great for the first stone but the second one crashes my game when i use its final use. if that makes any sense. One thing i did notice was that for some reason the stone is on 2hp when it should be in steps of 5hp ( mod is default settings). so maybe that was the issue? idk
Crash Report
@ SilverValkyrie just tested it and it's working perfectly! Thank you so much!
Thievishlogin its up , was a bit more then expected
Any chance of this getting updated to 1.22? I tested it and it seems to not be working. Sorry to bother but this is one of my favourite mods.
Almarek Some mods will do that, it is nothing to be worried about so you can let it do its thing (hit the backup button before just in case) and the message will go away the next time you will load your single player save or the server you play on restart.
Kinda wierd thing when adding this mod happening. After adding it, launching the game gives the world reload on update prompt like: "This save game was created with an older version of the game, to restore some of the blocks a remapping and world reload is required."
But if I disable the mod that goes away? Dunno if the games being wierd and thinking the mods changing the games version or something, I'm not really savvy with this stuff but just thought I'd say something incase this is a bug.
I like it, though I think it's a bit overpowered. Maybe make any tool you repair loose some maximum durability so that you still eventually have to replace it.
this works with armor as well for some reason lol
Nartaga That worked! Thank You so much!
Racer83 You put the whetstone in the crafting grid with the tool you want to repair. The output box should be the tool with more durability.
I'm embarrassed for asking this, but how do you use it?
I am new to the game and have made a whetstone, but couldn't figure out how to use it so i threw it out of my inventory.
Can also mention i am on the 1.21.5 version.
SilverValkyrie that what i did. I put "brush" in the option and now it work.
Thanks you :)
Amarillo are you sure it works without the mod ? otherwise this is a "base-game" crash
you might want to try running these commands in a seperate world
.clientconfig maxTextureAtlasWidth 8192
.clientconfig maxTextureAtlasHeight 8192
Solution from https://github.com/anegostudios/VintageStory-Issues/issues/4771
Vherkin might be due to it being a tool and trying to apply the repair recipe
you can adjust the config and add something like "brush-dry" for example this should remove all the recipes for the brushes
If installed with tailor delight, it cause a crash to desktop when looking at a dry paintbrush in the handbook.
Otherwise, work great.
Is it possible to configure repair values? And if so, how to acces it? Would be a neat addition to that.
I had loaded the 1.20 version of the mod on my 1.21 world. It loads the whetstones but can not be used to repair. When I updated the server with this mod it crashes the game. Not sure if the error is related to this mod, but when only this mod is not present the crash dont happen. when re enabling this mod the crash happens again.
Thank you so much! been too busy to log back in and check lately, so happy!
Ayraeil you can make a patched content mod for that and overwrite the whetstone items types
amazing mod, tysm for this
Is there a way to manually change values myself?
Thank you so very much!
LOVE YOU! even with 400% durability and rarity for higher durability, tools break so freaking fast. Imagine bying a pick axe in RL and having it break in 1 day of use... companies will go bankrupt lol (except for the maker)
SilverValkyrie Thank you so much Your a real one :D Love ya :3
Dookie6505 Done :3
Just @ing all that were asking for a patch
Vanteal AustralianX
voxelbuster added the options to disable items as a lil treat