Skip to content

Commit

Permalink
1.3.0.2 Update
Browse files Browse the repository at this point in the history
Added support for Carny Senpai's Enable Oversized Weapons mod.
  • Loading branch information
jecrell committed Jul 30, 2021
1 parent 1faae43 commit d04c160
Show file tree
Hide file tree
Showing 24 changed files with 21 additions and 5 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.
7 changes: 5 additions & 2 deletions 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.1 (07-24-2021)
<description>1.3.0.2 (07-29-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.2 (07-29-2021)
========================
Carny Senpai's Enable Oversized Weapons is now supported and JecsTools CompOversizedWeapon will yield for it.

1.3.0.1 (07-24-2021)
========================
Fix regression in RW 1.1 &amp; 1.2 by using separate defs for 1.1+1.2 and 1.3
Expand All @@ -83,7 +87,6 @@ Fix regression in RW 1.1 &amp; 1.2 by using separate defs for 1.1+1.2 and 1.3
========================
lbmaian's 1.3 and 1.2 updates have been merged and are now available on the main JecsTools branch. Stay tuned for updates to out of date mods as we move into 1.3.


1.2.0.0 (07-24-2021)
========================
Note: Starting from this version, changes only apply to RimWorld 1.3+.
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.2 (07-29-2021)
========================
Carny Senpai's Enable Oversized Weapons is now supported and JecsTools CompOversizedWeapon will yield for it.

1.3.0.1 (07-24-2021)
========================
Fix regression in RW 1.1 & 1.2 by using separate defs for 1.1+1.2 and 1.3
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.1</version>
<version>1.3.0.2</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.1
1.3.0.2
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,21 @@
namespace CompOversizedWeapon
{
[StaticConstructorOnStartup]

internal static class HarmonyCompOversizedWeapon
{
static HarmonyCompOversizedWeapon()
{
var harmony = new Harmony("jecstools.jecrell.comps.oversized");
var type = typeof(HarmonyCompOversizedWeapon);
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");

harmony.Patch(AccessTools.Method(typeof(PawnRenderer), nameof(PawnRenderer.DrawEquipmentAiming)),
prefix: new HarmonyMethod(type, nameof(DrawEquipmentAimingPreFix)));
Expand Down
2 changes: 1 addition & 1 deletion Source/AllModdingComponents/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<NoStdLib>true</NoStdLib>
<LangVersion>9.0</LangVersion>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<Version>1.2.0.1</Version>
<Version>1.3.0.2</Version>
<!--
For some reason, although SDK projects should default Deterministic to true, when importing this props build,
builds become non-deterministic unless Deterministic is explicitly set to true here.
Expand Down

0 comments on commit d04c160

Please sign in to comment.