RimWorld

RimWorld

52 ratings
ReTend 1.2+
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.2, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
601.181 KB
12 Jul @ 8:12am
21 Jul @ 3:15am
2 Change Notes ( view )

Subscribe to download
ReTend 1.2+

Description
Tired of your colonists being unable to work for days because of a sloppy doctor?
With ReTend you can order your doctor to re-attempt tending an injury (or disease) until it's at a quality to your liking.
By increasing the quality of a tend your colonists will heal quicker and gain immunity faster reducing the risk of an untimely death.

Github: https://github.com/MrKev312/ReTend
Original version: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2996971119
13 Comments
JoeOwnage 11 Oct @ 6:06pm 
+1 to what PathToV1ctory said, have them retend infections first
keirests 17 Aug @ 5:04am 
Hello i have bit of a problem, my colonists can retend others but for some reason he can't retend himself, i took of all the mods yust leaving harmony and hub started a new run but i still can't get colonist to do it, self tending is enabled if wondering
PathToV1ctory 24 Jul @ 3:18pm 
A real minor bug. The 'enhanced' tending provided by medicine excludes infections, so you can't just mend them up along with everything else, and new infections are 'low severity', so by default it tends to do infections alone and last. Seems like a minor bug from trying to be careful rather than fully intended, so I put up a PR to make that work in a way that feels more natural.

A small infection could just need a little bit of ointment; why can't they do that while re-wrapping the entire limb for the fifth time? The mod is already pretty OP for infection management, might as well lean in.
Tench Froast 24 Jul @ 2:50pm 
Thanks for taking the time to look at the issue, PathToV1ctory. Based on your questions, I don't think this is a bug: my mod settings were defaults, I switched the sorting to Tend Quality and my doctor was able to ReTend the infection.

I think the issue was that since my doctor has a terrible skill level of 5, and I only have herbal meds (tribal start), the other injuries that had lower health would never reach the tend quality goal. I hadn't looked at the mod options, so I was unaware of the tend quality threshold and sorting options.

I'd also like to thank you again for putting a PR up with the fix, while MrKev was busy. I was able to copy the fix locally and use the mod in the meanwhile.

BTW, it'd be great QOL, if the doctor could choose the injury to ReTend. Looking at the code with a very basic understanding of C# and modding, the logic iterates thru the list of hediffs to see if any are ReTend-able anyways. In any case, thanks again!
PathToV1ctory 24 Jul @ 2:19pm 
Trying to replicate your issue and figure out exactly why, Tench Froast.

I think I've pinned it down with a bit of testing, but a few questions to help me be completely sure:
In the mod options, are you sorting by 'Lowest Health' or by 'Tend Quality'?
Is this a behavior you only see happening with new infections, or does it also happen with significant ones?
Are the injuries significant? Less than 50% health (scaled to the limb) remaining?
Are you tending with or without medicine?
Do they never, ever, re-tend the infection while the other injuries still exist? Or do they start work on it separately, once all the other tends have reached their quality goal?
Tench Froast 23 Jul @ 12:31pm 
Still having issues with infections unfortunately, if the pawn has other injuries. When re-tending, my doctor only works on other injuries and doesn't re-tend the infection.

If the pawn only has an infection, then it works fine.
MrKev  [author] 21 Jul @ 3:16am 
Merged and updated! Should now be working as expected!
Big thanks to PathToV1ctory as I didn't have time the past week to fix it
PathToV1ctory 20 Jul @ 4:19pm 
There's some excessive checks on when the ReTend option is displayed. If the pawn doesn't have something in need of tending and isn't downed, you don't get the option. This means fully tended pawns can't be ReTend-ed, and makes the mod very hard to use.

Might be able to be shortcut it with the 'Down For Me' mod? I didn't think to try that before I started tweaking the code.

It only took a tiny change to get the option to show up any time there is a ReTend available, which seems far more appropriate. I put up a PR on the repo.

Thank you for your efforts, MrKev!
lucky_one 🍀 15 Jul @ 1:00pm 
Same issue as StellarMediocre, cant retend infections
StellarMediocre 14 Jul @ 10:59am 
Can't ReTend on infection from what I'm seeing