RimWorld

RimWorld

Dead Apparel Apathy
13 Comments
CephalopodDarius  [author] 13 Jun @ 8:45pm 
Updated for 1.6. Since I previously commented with the original code, figured I'd mention that as of 1.5 it no longer just patches out the method. There may be logic that triggers off of that event that shouldn't be suppress, so now it patches the opcodes to remove the condition that sets the "worn by dead person" flag. The source code is included in the mod folder
fuzzzbutt 24 May, 2020 @ 8:53am 
thank you SO MUCH!
CephalopodDarius  [author] 24 May, 2020 @ 2:13am 
Deep apologies for the late update (had a kid, busy job, hardware failure, then health issues to boot), but I finally updated! The old version could be coerced to continue working, but in case I have to deal with life again in the future, here's the actual code. It's really simple, and uses HarmonyLib:

public DeadApparelApathyLib(ModContentPack content) : base(content)
{
var h = new Harmony("com.webbedsquid.vincent.darius");
h.PatchAll(Assembly.GetExecutingAssembly());
}

[HarmonyPatch(typeof(Apparel))]
[HarmonyPatch("Notify_PawnKilled")]
public class NoDeadClothingFlagPatch
{
private static bool Prefix()
{
return false;
}
}

Thank you!
fuzzzbutt 26 Feb, 2020 @ 9:40pm 
v 1.1?
chocolatepuddingfruit 25 Feb, 2020 @ 9:36pm 
hoping for update to new version; such a helpful mod
CephalopodDarius  [author] 20 Sep, 2018 @ 8:44pm 
Sorry for the delay. I updated for 0.19.2009. stafftank, feel free to keep yours up, and thank you for re-uploading for others to use while I was away!
stafftank 12 Sep, 2018 @ 10:22am 
i updooted to 1.0 mod auther msg me if you wnat it taken down
Fantasy System 21 Jul, 2018 @ 6:55am 
1.0 VERSION??
Inkspot Fox 25 Dec, 2017 @ 6:38am 
Bless you for making this.
mr_conga 24 Dec, 2017 @ 2:22am 
The washing machine mod is called Holy Washer, never actually used it myself though
The Rabid Otter 23 Dec, 2017 @ 2:21pm 
Back in A15 or A16 I thought there was a washing machine mod that allowed you to remove the D eadman's D by putting the clothes in the washing machine. But hell if I can find the link for it after 10 minutes of searching.

Any chance you'd consider making such a mod? While I know nothing about programming, I suspect your mod deals with the state of clothes after they've been washed.
kaptain_kavern 23 Dec, 2017 @ 7:37am 
Does Hatti's mods not up to date? Is your differ from already existing similar mods?
Doc Roley 23 Dec, 2017 @ 2:33am 
Thanks for this mod. ^^