RimWorld

RimWorld

Repair Items
147 Comments
Inerael May 13 @ 8:46am 
@Zalfir did you manage to know pls ? i'm wondering too, and purging some mods for my next game to prevent lag
Zalfir Feb 16 @ 1:13am 
Does this slow the game down much? Must take up a lot of tick space searching through a lot of items.
Quilava Oct 11, 2024 @ 8:16am 
Silly me, item mark with Tainted cant be repair cause the default mod setting, glad i figured it out
seraphonica Sep 21, 2024 @ 4:07pm 
I'm enjoying this mod, thanks! I'm not huge on balance, but if others are, maybe there could be an option to make each repair reduce the quality level or max hp of the item being repaired. Just an idea. Cheers!
Crimson Sep 19, 2024 @ 8:46am 
Does this require a table and a researched tech?
悲嬴欢阙 Sep 17, 2024 @ 10:57pm 
@Gavran, you can find the newest version on the github link above.
Gavran Jul 2, 2024 @ 8:52pm 
I'm seeing this too, on a fresh install with no history of this mod. I think Steam is serving an old version, can you commit a new one maybe?
Nublythenub Jun 30, 2024 @ 10:15am 
@trooper11 how do I fix the 1.4 issue
sintri Jun 30, 2024 @ 1:13am 
Don't think this mod worked without Work Tab, added it and kept running into invisible pawns on both old and new games. Eventually installed Work Tab after trying a few other things and started working.
trooper11 Apr 27, 2024 @ 10:09am 
@Moony Sorry for the late reply, but it took me a while to back to testing. I can confirm that going and deleting the config file fixed that error, but I also had to completely delete the mod and re download it as well, then the issue was gone for good. I will say there was only a single config file in that folder, so nothing had been duplicated there. Thanks for the help!
Ulterior The Panzie Apr 24, 2024 @ 5:35pm 
It's doing the same thing for me; showing up as 1.4 mod.
Moony  [author] Apr 24, 2024 @ 6:37am 
Okay strange, maybe just steam not realising it needed the update perhaps.
utata Apr 23, 2024 @ 10:39pm 
It automatically fixed yesterday all of the sudden.
that was weird but just resolved. I didnt install mod for 1.4 before this problem so i dont think it's caching issue. no idea
Moony  [author] Apr 23, 2024 @ 12:41pm 
The mod folder should contain 4 folders: 1.3/ 1.4/ 1.5/ About/ and a file LoadFolders.xml which determines which version of the mod to use. Are all of these present?
utata Apr 21, 2024 @ 9:59pm 
I think the mod folder didn't have sub dir '1.3' and '1.4' last time i saw which is a bit weird.
let me verify if the mod directory has correct contents once im back home.
Tell me if there's any specific information u need to set up the hypothesis
utata Apr 21, 2024 @ 9:52pm 
sorry for not giving info well.
I've been using my self-compiled repair items mod in my rimworld/mods folder for past few days. It's recognized as a mod for version 1.5 as inteded.
Then yesterday I tryed to install repair items by subscribing workshop to get updated version, then the game complains that it's not compatible for version 1.5 but 1.4.
In its source folder I saw MoonyRepairClasses.cs which I believe is renamed to RepairItems.cs in recent update.
Any chance I downloaded outdated version by subbing?
Moony  [author] Apr 21, 2024 @ 7:21am 
It's possible that the updated version of the mod has created a second settings file at "C:\Users\[username]\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Config", going here and deleting the old one, or if you can't work out which that is, deleting both should just reset the settings to default. The second error seems to be related to the settings as well, so let me know if the first fix solves the second too. Thanks.

Regarding the game version it works for 1.3, 1.4 and 1.5 and automatically detects which you are playing on, can you provide any more information about the problem you are having?
utata Apr 21, 2024 @ 1:33am 
unable to use since it's recognized as for version 1.4 for some reason
trooper11 Apr 20, 2024 @ 6:56pm 
I'm in the middle of rebuilding my mod list around 1.5 and after alot of tweaking, I'm almost there. I'm noticing two issues related to this mod, so I thought I should share them.

First, when I go into mod settings I see Repair Items listed twice. Clicking on either gives the same options. I tried removing it and re-downloading/installing (I use rimpy and download local copies of all my mods), but no change.

Here is second issue log info:

SaveableFromNode exception: System.InvalidCastException: Specified cast is not valid.
[Ref FAC2E1BB]
at (wrapper castclass) System.Object.__castclass_with_cache(object,intptr,intptr)
at Verse.ScribeExtractor.SaveableFromNode[T] (System.Xml.XmlNode subNode, System.Object[] ctorArgs) [0x00202] in <957a20e0be784a65bc32cf449445b937>:0
Subnode:
<ModSettings Class="MoonyRepair.RepairSettings" />
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

If you'd like my full log, I'm happy to share it. Thanks.
npc with feelings Apr 20, 2024 @ 9:57am 
thank you for the update!
Moony  [author] Apr 20, 2024 @ 9:11am 
should be fixed, been busy past few days so sorry for the delay
Doug Apr 18, 2024 @ 8:40am 
Glad to hear, if the author doesn't publish a fix at some point maybe I'll publish the fixed version.
utata Apr 18, 2024 @ 2:02am 
The online downloader gives me 3 years old files somehow so I had to use what's called steamcmd. It was fairly easy and now i see problematic lines correctly. Thanks!!
utata Apr 18, 2024 @ 12:14am 
@transcendperfection Oh thanks i downloaded it and confirmed there is.
I'm new to the game and Idk what the heck is tained apparel but I'll do that change once i go back home anyway. thanks
The Atomic Option Apr 17, 2024 @ 11:35pm 
transcendperfection's code update works! However due to these comments remove formatting please note that `if (apparel.Wearer != null)` should only apply to the should-be-indented-line `apparel.Notify_PawnREsurrected(apparel.Wearer);`
Doug Apr 17, 2024 @ 11:19pm 
@utata Source code is included in the mod files
utata Apr 17, 2024 @ 10:36pm 
I've read some comments below but can anyone kindly tell me the current state right now like what function works and what not? I need this mod but not sure if its main repair functionality works or not.
and also i wonder if "recompile" @transcendperfection refers to is using dnSpy and modify dll directly? cuz i didnt seem to find github page for this mod by just googling.
makotow Apr 17, 2024 @ 9:04pm 
Turn off the tained function in mod setting then everything fine.
The repair function works.
Wait for a fixed update.
Doug Apr 16, 2024 @ 2:17pm 
Change
if (settings.removeTainted && TargetThingA.def.IsWithinCategory (ThingCategoryDefOf.Apparel) && ((Apparel) TargetThingA).WornByCorpse)
((Apparel) TargetThingA).Notify_PawnResurrected (((Apparel) TargetThingA).Wearer);

to
var apparel = TargetThingA as Apparel;
if (settings.removeTainted && TargetThingA.def.IsWithinCategory(ThingCategoryDefOf.Apparel) && apparel != null && apparel.WornByCorpse)
{
if (apparel.Wearer != null)
apparel.Notify_PawnResurrected(apparel.Wearer);
apparel.WornByCorpse = false;
}

And recompile. The repair will work again with no errors and tainted will be removed successfully even if the apparel was worn by a mutant.
Niuq Apr 16, 2024 @ 12:19pm 
Exception in JobDriver tick for pawn Sparks driver=JobDriver_RepairItem (toilIndex=1) driver.job=(Moony_Repair (Job_1121830) A = Thing_Apparel_FlakJacket178025 Giver = JobGiver_Work [workGiverDef: Moony_RepairApparel])
System.NullReferenceException: Object reference not set to an instance of an object
[Ref 3D79E1F9] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:DriverTick ()
Verse.AI.Pawn_JobTracker:JobTrackerTick ()
Verse.Pawn:Tick ()
Verse.TickList:Tick ()
Verse.TickManager:DoSingleTick ()
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()
Niuq Apr 16, 2024 @ 11:24am 
Having similar issues with tainted gear
Scrub Daddy Apr 15, 2024 @ 2:19pm 
im having an issue where repairing an item does not remove tainted, i have checked to make sure its checked, and the pawns set to craft will go to fix the tainted gear and get stuck trying to repair the item because its tainted. Dont know if anyone else has had this issue, or has a suggestion. either way thank you
Moony  [author] Apr 15, 2024 @ 7:05am 
Steam workshop doesn't seem to let me upload any changes...bit of a pain
Norman Apr 15, 2024 @ 5:33am 
It seems the mod file is 1.4 in the game
Moony  [author] Apr 15, 2024 @ 4:58am 
Not sure why, works for me in testing. Has updating maybe changed the mod settings? Or might another mod be interfering with this one?
mlpmlpmlpmlp126 Apr 14, 2024 @ 7:07pm 
having problem with pawns not repairing anything. i cant tell why this is happening because it worked on all my 1.4 saves but stopped in 1.5. even with new saves it stops working.
Moony  [author] Apr 14, 2024 @ 7:29am 
- 1.5 support added
去码头整点薯条 Apr 13, 2024 @ 11:14pm 
1.5
Rowan Apr 13, 2024 @ 2:15pm 
please update for 1.5
Peryn [Андрій] Apr 13, 2024 @ 9:44am 
pls 1.5
[JC]PoopyDiaper Apr 12, 2024 @ 6:41pm 
Will this mod be updated for 1.5?
Tapircurr Apr 12, 2024 @ 10:49am 
plz a 1.5
SpadeDraco Apr 12, 2024 @ 7:44am 
Obligatory '1.5 plz' post.
Creedmoor Mar 25, 2024 @ 2:33pm 
mmm yes repair clothes with blowtorch ...

the mod is gud me like :]
Kalmin Oct 11, 2023 @ 1:44pm 
Can you make it in to a tool? So they only fix what you select to be fixed?
Pasiego Sep 30, 2023 @ 5:51am 
Finally i can repair items on a medieval game. Thank you very much!
ggfirst Aug 29, 2023 @ 6:29am 
Any chance adding config for
multiplying reparing amount?
I want to at least balance it for x1000
a cat named tom? Aug 1, 2023 @ 6:19am 
don t work could you please cheak out it
TDogOrtiz1175 Jul 25, 2023 @ 12:03pm 
nvm started working perfectly. Not sure why it stopped for a bit though.
TDogOrtiz1175 Jul 21, 2023 @ 1:09am 
doesn't work