mirror of
https://github.com/amevarashi/RJW-Sexperience.git
synced 2024-08-14 23:54:08 +00:00
Remove rjw.WorkGiver_CleanSelf patch
This commit is contained in:
parent
784abb6036
commit
2a6213e043
1 changed files with 0 additions and 17 deletions
|
@ -187,23 +187,6 @@ namespace RJWSexperience
|
|||
}
|
||||
}
|
||||
|
||||
[HarmonyPatch(typeof(WorkGiver_CleanSelf), "JobOnThing")]
|
||||
public static class RJW_Patch_CleanSelf_JobOnThing
|
||||
{
|
||||
public static bool Prefix(Pawn pawn, Thing t, bool forced, ref Job __result)
|
||||
{
|
||||
Building_CumBucket bucket = pawn.GetAdjacentBuilding<Building_CumBucket>();
|
||||
if (bucket == null) bucket = pawn.FindClosestBucket();
|
||||
if (bucket != null)
|
||||
{
|
||||
__result = JobMaker.MakeJob(VariousDefOf.CleanSelfwithBucket, null, bucket, bucket.Position);
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
[HarmonyPatch(typeof(CasualSex_Helper), nameof(CasualSex_Helper.FindSexLocation))]
|
||||
public static class RJW_Patch_CasualSex_Helper_FindSexLocation
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue