RimWorld

RimWorld

Not enough ratings
[1.4] Repair at Crafting Bench
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4
File Size
Posted
Updated
2.653 MB
29 Oct, 2022 @ 7:36pm
30 Oct, 2022 @ 4:48pm
3 Change Notes ( view )

Subscribe to download
[1.4] 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 workbenches
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.

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.

4 Comments
Defiant 24 Jun, 2024 @ 2:20am 
thanks for keeping the 1.4 Version up :)
swwu  [author] 14 Apr, 2024 @ 3:52am 
swwu  [author] 14 Apr, 2024 @ 3:13am 
idk i didn't know anyone actually used this mod
probably in the next week or maybe tonight
Nyawul 13 Apr, 2024 @ 3:49pm 
1.5 version when