RimWorld

RimWorld

194 ratings
Repair at Crafting Bench
3
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5
File Size
Posted
Updated
3.281 MB
14 Apr, 2024 @ 3:39am
15 Feb @ 2:52am
3 Change Notes ( view )

Subscribe to download
Repair at Crafting Bench

Description
Lets you repair weapons/armor/clothes at the original workbenches you crafted them on, without needing extra mending workbenches.

Features
Completely repair durability on items using the same workbenches you use to create them
Nifty progress bar to tell you how close to done you are

Details
This is based on/a fork of the excellent MendAndRecycle mod; however, it doesn't add any new workbenches. Instead, it automatically adds repair bills to any existing workbenches, which have a skill requirement depending on the skill requirement of the original recipes. Currently it does not support recycling :'(

Repairing items currently only costs time. Which items get repaired can be controlled via the standard BillsTab filtering behavior.

The repair bills correspond roughly to the type and difficulty of skill required to craft the item:
  • items requiring less than 6 of any skill to craft are "simple", and have no skill requirements to repair
  • items whose highest skill required to craft is between 6 and 11 are "complex", and require 4 in that skill to repair
  • items whose highest skill required to craft is between 12 and 17 are "advanced", and require 8 in that skill to repair
    ...
  • items whose highest skill required to craft is between [6*N] and [6*N+5] require [4*N] in that skill to repair (to my knowledge, nothing in vanilla requires a crafting skill higher than 8, so this is really just for mod items)

Currently, you can only repair weapon or apparel items that have at least one recipe which matches all of the following:
  • produced at a workbench with the "production" tag
  • produces only a single item
  • uses an unfinished item to track progress

The single exception to this is that the mod is currently hardcoded to allow repair of eltex items at the tailoring bench using crafting skill.

Compatibility
This mod should be compatible with any mods that add new workbenches or crafting recipes; those items will be repairable at their producing workbench if they match the conditions above.

It should be compatible with new or old save games. You should remove any outstanding repair bills before disabling the mod.

A 1.4 version is available here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2881809577

Credits
Everyone who's worked on MendAndRecycle over the years and whose code I therefore learned from—NotFood, topp2000, Skyarkhangel, Wastelander

Ludeon studios, whose code I also learned from and "reverse-engineered" (i.e. copied wholesale)

Source is available in the mod; github pending.

65 Comments
Kowhaifan 13 hours ago 
good mod, love this shit. so happy i dont gotta replace my damn masterwork psyfocus hear every two days.
FirstBornAcorn 10 Jul @ 10:22pm 
I know i'm the worst for asking this :) but this is my favourite mend/repair mod.
1.6 planned?
swwu  [author] 23 May @ 12:18am 
For people with disappearing items, do they disappear instantly? or only after being repaired some amount?
luh grunch 6 May @ 2:31pm 
my brainworm tells me to ditch hugslib, any alternative mod? LTS maintenence is nice, but they wont repair non-worn apparel.
Animal 7 17 Mar @ 3:53pm 
I have the same issue as Sanicek
sanicek 4 Mar @ 3:03pm 
instead of getting repaired my items now disappear, all workbenches, nothing at all in the log :( just posting in case anyone encountered this and managed to pinpoint the issue, maybe a mod conflict.
swwu  [author] 15 Feb @ 2:53am 
Alright, wildebeest sash is fixed.

It turns out the reason was because wildebeest leather gives a really significant penalty to item hp, which means that our hp repaired per tick was being rounded down to 0. Items now always repair at least 1hp per tick.
sybersmoke 31 Dec, 2024 @ 5:04pm 
@Tinda If your looking for a relatively balanced method for taint removal, I suggest Dub's Bad Hygiene. You can toss 5 tainted items into a Washing Machine and let it spin baby spin to get out the blood and stank.
Tinda 15 Dec, 2024 @ 8:07am 
Would it be possible to let repair also remove taint?
Animal 7 8 Nov, 2024 @ 1:36pm 
Great mod, exact;y wjat i was looking for