diff --git a/1.3/Assemblies/RJW_patch_Autopsy.dll b/1.3/Assemblies/RJW_patch_Autopsy.dll
index 71963e7..353c934 100644
Binary files a/1.3/Assemblies/RJW_patch_Autopsy.dll and b/1.3/Assemblies/RJW_patch_Autopsy.dll differ
diff --git a/About/Manifest.xml b/About/Manifest.xml
index e890ac9..09cc895 100644
--- a/About/Manifest.xml
+++ b/About/Manifest.xml
@@ -2,5 +2,5 @@
RJW patch - Harvest Organs Post Mortem
- 4945.0.1.4
+ 4961.0.1.4
\ No newline at end of file
diff --git a/Assemblies/RJW_patch_Autopsy.dll b/Assemblies/RJW_patch_Autopsy.dll
index 71963e7..353c934 100644
Binary files a/Assemblies/RJW_patch_Autopsy.dll and b/Assemblies/RJW_patch_Autopsy.dll differ
diff --git a/Source/RJW_patch_Autopsy/Patches/NewMedicalRecipesUtilityPatch.cs b/Source/RJW_patch_Autopsy/Patches/NewMedicalRecipesUtilityPatch.cs
index a11bf78..01f7dd3 100644
--- a/Source/RJW_patch_Autopsy/Patches/NewMedicalRecipesUtilityPatch.cs
+++ b/Source/RJW_patch_Autopsy/Patches/NewMedicalRecipesUtilityPatch.cs
@@ -11,11 +11,11 @@ namespace RJW_patch_Autopsy
[HarmonyPatch(typeof(NewMedicalRecipesUtility), nameof(NewMedicalRecipesUtility.TraverseBody))]
public static class NewMedicalRecipesUtilityPatch
{
- private const bool DO_LOG = false;
+ private const bool DEBUG = false;
private static void log(String message)
{
- if (DO_LOG)
+ if (DEBUG)
{
Log.Message(message);
}
@@ -78,11 +78,11 @@ namespace RJW_patch_Autopsy
//Simulate success chance scaled with skill etc.
rjwNaturalThings.ForEach(t =>
{
- if (Rand.Chance(Math.Min(skillChance, recipeInfo.NaturalChance))) results.Add(t);
+ if (DEBUG || Rand.Chance(Math.Min(skillChance, recipeInfo.NaturalChance))) results.Add(t);
});
rjwArtificialThings.ForEach(t =>
{
- if (Rand.Chance(Math.Min(skillChance, recipeInfo.BionicChance))) results.Add(t);
+ if (DEBUG || Rand.Chance(Math.Min(skillChance, recipeInfo.BionicChance))) results.Add(t);
});
//Remove all parts that were tried to harvest from the corpse
diff --git a/Source/RJW_patch_Autopsy/Properties/AssemblyInfo.cs b/Source/RJW_patch_Autopsy/Properties/AssemblyInfo.cs
index 9c0dd45..0d204fe 100644
--- a/Source/RJW_patch_Autopsy/Properties/AssemblyInfo.cs
+++ b/Source/RJW_patch_Autopsy/Properties/AssemblyInfo.cs
@@ -33,5 +33,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("4945.0.1.4")]
-[assembly: AssemblyFileVersion("4945.0.1.4")]
\ No newline at end of file
+[assembly: AssemblyVersion("5000.0.1.4")]
+[assembly: AssemblyFileVersion("5000.0.1.4")]
\ No newline at end of file
diff --git a/Source/build.gradle.kts b/Source/build.gradle.kts
index 810b2b8..e46bf1e 100644
--- a/Source/build.gradle.kts
+++ b/Source/build.gradle.kts
@@ -11,7 +11,7 @@ plugins {
//id("com.ullink.nunit") version "1.12"
}
-version = "4945.0.1.4"
+version = "4961.0.1.4"
val friendlyName = "rjw-patch-autopsy"
tasks.register("buildC#") {
diff --git a/Source/gradle/wrapper/gradle-wrapper.properties b/Source/gradle/wrapper/gradle-wrapper.properties
index 2e6e589..aa991fc 100644
--- a/Source/gradle/wrapper/gradle-wrapper.properties
+++ b/Source/gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists