From 0d0efa67b2f91a9b5dab516ffc612e64c26a1bfb Mon Sep 17 00:00:00 2001 From: leboeuf <39616-leboeuf@users.noreply.gitgud.io> Date: Tue, 17 Jan 2023 16:35:59 -0500 Subject: [PATCH] v1.0.1 --- 1.4/Assemblies/LewdBiotech.dll | Bin 14336 -> 14336 bytes 1.4/Defs/RecipeDefs/Bioscaffold.xml | 4 ++-- Source/LewdBiotech.cs | 5 +++++ Source/LewdBiotech.csproj | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/1.4/Assemblies/LewdBiotech.dll b/1.4/Assemblies/LewdBiotech.dll index f8b7ad28dcfee7e8b76471897c581ee18994e056..84d11a82cda36069b1a155abfe1091c130f2f4ff 100644 GIT binary patch delta 377 zcmZoDXegM_!5l4gd}6mOjhW@M~qV$h%5#8@YI$BzLFJb)w<11rOi&4Nt# z*%;F%f8;1;44kaPrZjmirz)oz0|QsSIgpr~%Bjd|0c5Db$j>kj%5!D;#VEkAK?}-FV*AA?$Z!bC>tOiBD8z6D z%G2Te#VE}1Y_qB0VMZZE#?{PTjFODMn1dN*7^;|GGi>G({v;_7@>SrFRr^nePIY;a zMB%G@HuLEEFbiFP1{TP5uRv^tiHc&3cQ!W~*fMVBGy28M^v7%?wZ##IwnhBHP?W@M~q+MqYNiLp+w$BzLFJb)w<11rOd&4Nt# z*%-wpf8;1;WSqQ}Q<2q-fq_eHvJRWlh$31{*MM8bbl&FGhX_KPbLxL8Ro5c2uQIMes%IjeG#VEwk0_Ev&{$dnn zn6|l9@Gzs03_}(3YX(Ke)y!Uul8nEYgBdqR34f9l(Dt1fVR~B9dH0E^xXRgX2R6s( w`Y;PMK!XP4x>+E$!bC+e#-7a=4Qv@F3m67$<}>=m%(TXCv!K~~#)$^(06|Dm0RR91 diff --git a/1.4/Defs/RecipeDefs/Bioscaffold.xml b/1.4/Defs/RecipeDefs/Bioscaffold.xml index aef67a4..624f0cb 100644 --- a/1.4/Defs/RecipeDefs/Bioscaffold.xml +++ b/1.4/Defs/RecipeDefs/Bioscaffold.xml @@ -25,9 +25,9 @@
  • Bioscaffold
  • - + Bioscaffold \ No newline at end of file diff --git a/Source/LewdBiotech.cs b/Source/LewdBiotech.cs index cbd0b2f..eb6b9ff 100644 --- a/Source/LewdBiotech.cs +++ b/Source/LewdBiotech.cs @@ -224,6 +224,10 @@ namespace LewdBiotech if (laborStateIsNull) { + if (__instance.pawn.health.hediffSet.HasHediff(HediffDef.Named("Bioscaffold"))) + { + __instance.pawn.health.RemoveHediff(__instance.pawn.health.hediffSet.GetFirstHediffOfDef(LewdBiotech.HediffDefOf.Bioscaffold)); + } return; } @@ -231,6 +235,7 @@ namespace LewdBiotech { laborStateMap.Remove(__instance.pawn.ThingID); if (__instance.pawn.health.hediffSet.HasHediff(HediffDef.Named("Bioscaffold"))) { + __instance.pawn.health.RemoveHediff(__instance.pawn.health.hediffSet.GetFirstHediffOfDef(LewdBiotech.HediffDefOf.Bioscaffold)); } return; diff --git a/Source/LewdBiotech.csproj b/Source/LewdBiotech.csproj index 9a0475b..796797e 100644 --- a/Source/LewdBiotech.csproj +++ b/Source/LewdBiotech.csproj @@ -71,7 +71,7 @@ copy "$(SolutionDir)Source\obj\Release\$(SolutionName).dll" "$(SolutionDir)1.4\Assemblies" -$(SolutionDir)..\..\RimWorldWin64.exe +"$(SolutionDir)..\..\RimWorldWin64.exe" \ No newline at end of file