Skip to content

Commit

Permalink
Hotfix 3
Browse files Browse the repository at this point in the history
Reverts back to previous changes. Removes changes related to Carny Senpai's Enable Oversized Weapons. There are compatibility issues that need to be reviewed.
  • Loading branch information
jecrell committed Jul 30, 2021
1 parent d04c160 commit 90bfe24
Show file tree
Hide file tree
Showing 23 changed files with 18 additions and 10 deletions.
Binary file modified 1.3/Assemblies/0JecsTools.dll
Binary file not shown.
Binary file modified 1.3/Assemblies/AbilityUser.dll
Binary file not shown.
Binary file modified 1.3/Assemblies/AbilityUserAI.dll
Binary file not shown.
Binary file modified 1.3/Assemblies/CompActivatableEffect.dll
Binary file not shown.
Binary file modified 1.3/Assemblies/CompAnimated.dll
Binary file not shown.
Binary file modified 1.3/Assemblies/CompBalloon.dll
Binary file not shown.
Binary file modified 1.3/Assemblies/CompBigBox.dll
Binary file not shown.
Binary file modified 1.3/Assemblies/CompDeflector.dll
Binary file not shown.
Binary file modified 1.3/Assemblies/CompDelayedSpawner.dll
Binary file not shown.
Binary file modified 1.3/Assemblies/CompExtraSounds.dll
Binary file not shown.
Binary file modified 1.3/Assemblies/CompInstalledPart.dll
Binary file not shown.
Binary file modified 1.3/Assemblies/CompLumbering.dll
Binary file not shown.
Binary file modified 1.3/Assemblies/CompOverlays.dll
Binary file not shown.
Binary file modified 1.3/Assemblies/CompOversizedWeapon.dll
Binary file not shown.
Binary file modified 1.3/Assemblies/CompSlotLoadable.dll
Binary file not shown.
Binary file modified 1.3/Assemblies/CompToggleDef.dll
Binary file not shown.
Binary file modified 1.3/Assemblies/PawnShields.dll
Binary file not shown.
Binary file modified 1.3/Assemblies/ThinkNodes.dll
Binary file not shown.
6 changes: 5 additions & 1 deletion About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<downloadUrl>https://github.com/pardeike/HarmonyRimWorld/releases/latest</downloadUrl>
</li>
</modDependencies>
<description>1.3.0.2 (07-29-2021)
<description>1.3.0.3 (07-30-2021)

Adds modding components to RimWorld: vehicles, spell casting, weapon slots, oversized weapons, and more!

Expand Down Expand Up @@ -75,6 +75,10 @@ Michael Cailler, Jigsawjohn , Daniel Schott, Penelope Charli Whitman, Jerome Gon
========================
Changelog
========================
1.3.0.3 (07-30-2021)
========================
Due to comptability issues, the patch for Enable Oversized Weapons will require additional work. Reverting back to the previous version.

1.3.0.2 (07-29-2021)
========================
Carny Senpai's Enable Oversized Weapons is now supported and JecsTools CompOversizedWeapon will yield for it.
Expand Down
4 changes: 4 additions & 0 deletions About/Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.3.0.3 (07-30-2021)
========================
Due to comptability issues, the patch for Enable Oversized Weapons will require additional work. Reverting back to the previous version.

1.3.0.2 (07-29-2021)
========================
Carny Senpai's Enable Oversized Weapons is now supported and JecsTools CompOversizedWeapon will yield for it.
Expand Down
2 changes: 1 addition & 1 deletion About/Manifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Manifest>
<identifier>JecsTools</identifier>
<version>1.3.0.2</version>
<version>1.3.0.3</version>
<dependencies />
<incompatibleWith />
<manifestUri>https://raw.githubusercontent.com/jecrell/JecsTools/master/About/Manifest.xml</manifestUri>
Expand Down
2 changes: 1 addition & 1 deletion About/Version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.0.2
1.3.0.3
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ static HarmonyCompOversizedWeapon()
{
var harmony = new Harmony("jecstools.jecrell.comps.oversized");
var type = typeof(HarmonyCompOversizedWeapon);
var CarnySenpaiEnableOversizedWeaponsModLoaded = ModsConfig.IsActive("CarnySenpai.EnableOversizedWeapons");
//var CarnySenpaiEnableOversizedWeaponsModLoaded = ModsConfig.IsActive("CarnySenpai.EnableOversizedWeapons");

if (CarnySenpaiEnableOversizedWeaponsModLoaded)
{
Log.Message("JecsTools:: Using Carny Senpai's Enable Oversized Weapons instead of CompOversizedWeapon");
return;
}
Log.Warning("JecsTools CompOversizedWeapon Loaded:: This component is no longer recommended for performance. Please see Carny Senpai's Enable Oversized Weapons mod. Once the Carny Senpai's mod is loaded, it will be used instead of CompOversizedWeapon");
// if (CarnySenpaiEnableOversizedWeaponsModLoaded)
// {
// Log.Message("JecsTools:: Using Carny Senpai's Enable Oversized Weapons instead of CompOversizedWeapon");
// return;
//}
//Log.Warning("JecsTools CompOversizedWeapon Loaded:: This component is no longer recommended for performance. Please see Carny Senpai's Enable Oversized Weapons mod. Once the Carny Senpai's mod is loaded, it will be used instead of CompOversizedWeapon");

harmony.Patch(AccessTools.Method(typeof(PawnRenderer), nameof(PawnRenderer.DrawEquipmentAiming)),
prefix: new HarmonyMethod(type, nameof(DrawEquipmentAimingPreFix)));
Expand Down

0 comments on commit 90bfe24

Please sign in to comment.