diff --git a/1.3/Assemblies/Vampire.dll b/1.3/Assemblies/Vampire.dll index ce2df64..1a07e2a 100644 Binary files a/1.3/Assemblies/Vampire.dll and b/1.3/Assemblies/Vampire.dll differ diff --git a/About/About.xml b/About/About.xml index ee11222..828fdea 100644 --- a/About/About.xml +++ b/About/About.xml @@ -28,7 +28,7 @@
  • jecrell.jecstools
  • Dubwise.DubsBadHygiene
  • - 1.24.0.0 (06-24-2022) + 1.24.0.1 (06-24-2022) Adds vampires to RimWorld. @@ -49,6 +49,10 @@ Michael Fisher, Storm D Bain, Luke Salinas, WonkyWoo WeebHoo, Daniel Schott, Rai ======================== Changelog ======================== +1.24.0.1 (06-24-2022) +======================== +Merged change on GitHub created by Caez. This should assure non-vampires are not running additional logic checks. + 1.24.0.0 (06-24-2022) ======================== Added support for VexedTree's mods (Robots and Skeletons). Coolant vomit filth added. Chance changed to 95% chance for coolant vomit for non-coolant using creatures. Added patch and edit support. A list of coolant users is available in the Defs folder diff --git a/About/Changelog.txt b/About/Changelog.txt index 6ff9fda..f3142ac 100644 --- a/About/Changelog.txt +++ b/About/Changelog.txt @@ -1,3 +1,7 @@ +1.24.0.1 (06-24-2022) +======================== +Merged change on GitHub created by Caez. This should assure non-vampires are not running additional logic checks. + 1.24.0.0 (06-24-2022) ======================== Added support for VexedTree's mods (Robots and Skeletons). Coolant vomit filth added. Chance changed to 95% chance for coolant vomit for non-coolant using creatures. Added patch and edit support. A list of coolant users is available in the Defs folder diff --git a/About/Manifest.xml b/About/Manifest.xml index 37e0f66..fb7b075 100644 --- a/About/Manifest.xml +++ b/About/Manifest.xml @@ -1,7 +1,7 @@  RimOfMadness-Vampires - 1.24.0.0 + 1.24.0.1
  • jecrell.jecstools
  • diff --git a/About/PatreonURL.txt b/About/PatreonURL.txt index d1c8a1e..1de4170 100644 --- a/About/PatreonURL.txt +++ b/About/PatreonURL.txt @@ -1 +1 @@ -https://www.patreon.com/posts/22142186 +https://www.patreon.com/posts/rim-of-madness-1-54281813 diff --git a/About/Version.txt b/About/Version.txt index c6a4766..93da686 100644 --- a/About/Version.txt +++ b/About/Version.txt @@ -1 +1 @@ -1.24.0.0 +1.24.0.1 diff --git a/Source/Vampires/HarmonyPatches/HarmonyPatches_Pathing.cs b/Source/Vampires/HarmonyPatches/HarmonyPatches_Pathing.cs index 8f24d6e..9b3c0c0 100644 --- a/Source/Vampires/HarmonyPatches/HarmonyPatches_Pathing.cs +++ b/Source/Vampires/HarmonyPatches/HarmonyPatches_Pathing.cs @@ -55,7 +55,9 @@ public static void HarmonyPatches_Pathing(Harmony harmony) // Verse.ReachabilityUtility public static void CanReach_Vampire(ref bool __result, Pawn pawn, LocalTargetInfo dest, PathEndMode peMode, Danger maxDanger, bool canBashDoors = false, bool canBashFences = false, TraverseMode mode = TraverseMode.ByPawn) { - if !(__result && pawn.IsVampire()) return; + if (!(__result && pawn.IsVampire())) + return; + var inBeastMentalState = pawn?.MentalStateDef == DefDatabase.GetNamed("ROMV_VampireBeast"); var inRestrictedSunlightAIMode = pawn?.VampComp()?.CurrentSunlightPolicy == SunlightPolicy.Restricted; var isDaylight = VampireUtility.IsDaylight(pawn); diff --git a/updateinfo b/updateinfo index 723382a..845e80c 100644 --- a/updateinfo +++ b/updateinfo @@ -3,10 +3,10 @@ ============================== Rim of Madness - Vampires Update -v1.24.0.0 (06-24-2022) +v1.24.0.1 (06-24-2022) ==================== -Added support for VexedTree's mods (Robots and Skeletons). Coolant vomit filth added. Chance changed to 95% chance for coolant vomit for non-coolant using creatures. Added patch and edit support. A list of coolant users is available in the Defs folder +Merged change on GitHub created by Caez. This should assure non-vampires are not running additional logic checks. -------------------- Download now on... @@ -25,9 +25,9 @@ Discuss the mod on... [img width=260]https://raw.githubusercontent.com/Rim-Of-Madness-Team/Rim-of-Madness---Vampires/master/About/Preview.png[/img] [hr] [b]Rim of Madness - Vampires -Version: 1.24.0.0 +Version: 1.24.0.1 Updated: 06-24-2022 -Description: [color=orange]Added support for VexedTree's mods (Robots and Skeletons). Coolant vomit filth added. Chance changed to 95% chance for coolant vomit for non-coolant using creatures. Added patch and edit support. A list of coolant users is available in the Defs folder[/color] +Description: [color=orange]Merged change on GitHub created by Caez. This should assure non-vampires are not running additional logic checks.[/color] [hr] [b]Download now on...[/b] [url=https://www.patreon.com/posts/22142186]Patreon[/url]