diff --git a/1.5/Assemblies/FCP_Core.dll b/1.5/Assemblies/FCP_Core.dll index 8b1eb90..a3d7f77 100644 Binary files a/1.5/Assemblies/FCP_Core.dll and b/1.5/Assemblies/FCP_Core.dll differ diff --git a/1.5/Defs/JobDefs/JobDefs.xml b/1.5/Defs/JobDefs/JobDefs.xml index bba91f5..d9dd47b 100644 --- a/1.5/Defs/JobDefs/JobDefs.xml +++ b/1.5/Defs/JobDefs/JobDefs.xml @@ -9,7 +9,7 @@ RR_RefuelPowerArmor - RangerRick_PowerArmor.JobDriver_RefuelPowerArmor + FCP.Core.JobDriver_RefuelPowerArmor Refueling TargetA. true @@ -18,7 +18,7 @@ RR_TrainTrait - RangerRick_PowerArmor.JobDriver_TrainTrait + FCP.Core.JobDriver_TrainTrait Training at TargetA. true diff --git a/1.5/Defs/MiscDefs/ThingDefs_Laser_DamageHediffs.xml b/1.5/Defs/MiscDefs/ThingDefs_Laser_DamageHediffs.xml index 3461aab..36435b8 100644 --- a/1.5/Defs/MiscDefs/ThingDefs_Laser_DamageHediffs.xml +++ b/1.5/Defs/MiscDefs/ThingDefs_Laser_DamageHediffs.xml @@ -7,7 +7,7 @@ laserburn - FalloutCore.LaserBurn + FCP.Core.LaserBurn false false diff --git a/1.5/Defs/MiscDefs/ThingDefs_Plasma_DamageHediffs.xml b/1.5/Defs/MiscDefs/ThingDefs_Plasma_DamageHediffs.xml index d14d035..c1f8f8c 100644 --- a/1.5/Defs/MiscDefs/ThingDefs_Plasma_DamageHediffs.xml +++ b/1.5/Defs/MiscDefs/ThingDefs_Plasma_DamageHediffs.xml @@ -7,7 +7,7 @@ Plasmaburn - FalloutCore.PlasmaBurn + FCP.Core.PlasmaBurn false false diff --git a/1.5/Defs/ThingDefs_Apparel/ThingDefs_Power_Armor.xml b/1.5/Defs/ThingDefs_Apparel/ThingDefs_Power_Armor.xml index 4b5ce94..94795ff 100644 --- a/1.5/Defs/ThingDefs_Apparel/ThingDefs_Power_Armor.xml +++ b/1.5/Defs/ThingDefs_Apparel/ThingDefs_Power_Armor.xml @@ -56,8 +56,8 @@
  • FCP_Power_Armor_Basic
  • -
  • -
  • +
  • +
  • FCP_Power_Armor_Trained FCP_Power_Armor_Empty_Fusion_Core
  • @@ -78,7 +78,7 @@
    -
  • +
  • True Hulk
  • diff --git a/1.5/Defs/ThingDefs_Buildings/Power_Armor_Simulator.xml b/1.5/Defs/ThingDefs_Buildings/Power_Armor_Simulator.xml index 8b3d662..882a538 100644 --- a/1.5/Defs/ThingDefs_Buildings/Power_Armor_Simulator.xml +++ b/1.5/Defs/ThingDefs_Buildings/Power_Armor_Simulator.xml @@ -53,7 +53,7 @@
  • -
  • +
  • FCP_Power_Armor_Trained 5000
  • diff --git a/Source/FCPTools/FalloutCore/Defs/ApparelExtensionDefModExtension.cs b/Source/FCPTools/FalloutCore/Defs/ApparelExtension.cs similarity index 88% rename from Source/FCPTools/FalloutCore/Defs/ApparelExtensionDefModExtension.cs rename to Source/FCPTools/FalloutCore/Defs/ApparelExtension.cs index 20149c0..8d510de 100644 --- a/Source/FCPTools/FalloutCore/Defs/ApparelExtensionDefModExtension.cs +++ b/Source/FCPTools/FalloutCore/Defs/ApparelExtension.cs @@ -10,7 +10,7 @@ using Verse; #nullable disable namespace FCP.Core { - public class ApparelExtensionDefModExtension : DefModExtension + public class ApparelExtension : DefModExtension { public bool shouldHideBody; public bool shouldHideHead; diff --git a/Source/FCPTools/FalloutCore/Harmony/Patches.cs b/Source/FCPTools/FalloutCore/Harmony/Patches.cs index d473590..67fa1e6 100644 --- a/Source/FCPTools/FalloutCore/Harmony/Patches.cs +++ b/Source/FCPTools/FalloutCore/Harmony/Patches.cs @@ -946,7 +946,7 @@ public static class Patches return; foreach (Thing thing in wearer.apparel.WornApparel) { - ApparelExtensionDefModExtension modExtension = thing.def.GetModExtension(); + ApparelExtension modExtension = thing.def.GetModExtension(); if (modExtension != null && modExtension.displayBodyType != null) { bodyType = modExtension.displayBodyType; diff --git a/Source/FCPTools/FalloutCore/Utilities/ApparelExtensionProps.cs b/Source/FCPTools/FalloutCore/Utilities/ApparelExtensionProps.cs index 1175597..b55b8f8 100644 --- a/Source/FCPTools/FalloutCore/Utilities/ApparelExtensionProps.cs +++ b/Source/FCPTools/FalloutCore/Utilities/ApparelExtensionProps.cs @@ -14,23 +14,23 @@ namespace FCP.Core [StaticConstructorOnStartup] public static class ApparelExtensionProps { - private static Dictionary cachedExtensions = new Dictionary(); + private static Dictionary cachedExtensions = new Dictionary(); //static HarmonyInit() => new Harmony("FalloutCore.ApparelExtension").PatchAll(); public static bool ShouldHideBody(this ThingDef def) { - ApparelExtensionDefModExtension modExtension; + ApparelExtension modExtension; if (!cachedExtensions.TryGetValue(def, out modExtension)) - cachedExtensions[def] = modExtension = def.GetModExtension(); + cachedExtensions[def] = modExtension = def.GetModExtension(); return modExtension != null && modExtension.shouldHideBody; } public static bool ShouldHideHead(this ThingDef def) { - ApparelExtensionDefModExtension modExtension; + ApparelExtension modExtension; if (!cachedExtensions.TryGetValue(def, out modExtension)) - cachedExtensions[def] = modExtension = def.GetModExtension(); + cachedExtensions[def] = modExtension = def.GetModExtension(); return modExtension != null && modExtension.shouldHideHead; } }