边缘世界 RimWorld

边缘世界 RimWorld

Dead Apparel Apathy
13 条留言
CephalopodDarius  [作者] 6 月 13 日 下午 8:45 
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 2020 年 5 月 24 日 上午 8:53 
thank you SO MUCH!
CephalopodDarius  [作者] 2020 年 5 月 24 日 上午 2:13 
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 2020 年 2 月 26 日 下午 9:40 
v 1.1?
chocolatepuddingfruit 2020 年 2 月 25 日 下午 9:36 
hoping for update to new version; such a helpful mod
CephalopodDarius  [作者] 2018 年 9 月 20 日 下午 8:44 
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 2018 年 9 月 12 日 上午 10:22 
i updooted to 1.0 mod auther msg me if you wnat it taken down
Fantasy System 2018 年 7 月 21 日 上午 6:55 
1.0 VERSION??
Inkspot Fox 2017 年 12 月 25 日 上午 6:38 
Bless you for making this.
mr_conga 2017 年 12 月 24 日 上午 2:22 
The washing machine mod is called Holy Washer, never actually used it myself though
The Rabid Otter 2017 年 12 月 23 日 下午 2:21 
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 2017 年 12 月 23 日 上午 7:37 
Does Hatti's mods not up to date? Is your differ from already existing similar mods?
Doc Roley 2017 年 12 月 23 日 上午 2:33 
Thanks for this mod. ^^