mirror of
https://gitgud.io/Stardust3D/rjw-patch-autopsy.git
synced 2024-08-15 00:43:41 +00:00
old changes
This commit is contained in:
parent
3207f7e7a1
commit
3512bdea66
8 changed files with 26 additions and 11 deletions
Binary file not shown.
|
@ -2,5 +2,5 @@
|
|||
|
||||
<Manifest>
|
||||
<identifier>RJW patch - Harvest Organs Post Mortem</identifier>
|
||||
<version>4943.0.1.4</version>
|
||||
<version>4945.0.1.4</version>
|
||||
</Manifest>
|
Binary file not shown.
|
@ -5,10 +5,23 @@ using Verse;
|
|||
namespace RJW_patch_Autopsy
|
||||
{
|
||||
[StaticConstructorOnStartup]
|
||||
internal static class First
|
||||
public class AutopsyPatch
|
||||
{
|
||||
static First()
|
||||
public static bool SizedApparelActive = false;
|
||||
|
||||
static AutopsyPatch()
|
||||
{
|
||||
//check SJW
|
||||
if (LoadedModManager.RunningModsListForReading.Any(x => x.Name == "SizedApparel"))
|
||||
{
|
||||
SizedApparelActive = true;
|
||||
}
|
||||
|
||||
if (LoadedModManager.RunningModsListForReading.Any(x => x.PackageId == "OTYOTY.SizedApparel"))
|
||||
{
|
||||
SizedApparelActive = true;
|
||||
}
|
||||
|
||||
var har = new Harmony("Stardust3D.RJW.patch.Autopsy");
|
||||
har.PatchAll(Assembly.GetExecutingAssembly());
|
||||
}
|
||||
|
|
|
@ -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("4943.0.1.4")]
|
||||
[assembly: AssemblyFileVersion("4943.0.1.4")]
|
||||
[assembly: AssemblyVersion("4945.0.1.4")]
|
||||
[assembly: AssemblyFileVersion("4945.0.1.4")]
|
|
@ -49,16 +49,17 @@
|
|||
<DelaySign>false</DelaySign>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="0Harmony, Version=2.2.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<Reference Include="0Harmony, Version=2.2.0.0, Culture=neutral, PublicKeyToken=null">
|
||||
<HintPath>..\packages\Lib.Harmony.2.2.0\lib\net48\0Harmony.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Assembly-CSharp">
|
||||
<HintPath>..\..\..\..\RimWorldWin64_Data\Managed\Assembly-CSharp.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="HugsLib">
|
||||
<HintPath>..\..\..\..\..\..\workshop\content\294100\818773962\Assemblies\HugsLib.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
<Reference Include="HugsLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
|
||||
<HintPath>..\packages\UnlimitedHugs.Rimworld.HugsLib.9.0.1\lib\net472\HugsLib.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Core" />
|
||||
</ItemGroup>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Lib.Harmony" version="2.2.0" targetFramework="net48"/>
|
||||
<package id="Lib.Harmony" version="2.2.0" targetFramework="net48" />
|
||||
<package id="UnlimitedHugs.Rimworld.HugsLib" version="9.0.1" targetFramework="net48" />
|
||||
</packages>
|
|
@ -11,7 +11,7 @@ plugins {
|
|||
//id("com.ullink.nunit") version "1.12"
|
||||
}
|
||||
|
||||
version = "4943.0.1.4"
|
||||
version = "4945.0.1.4"
|
||||
val friendlyName = "rjw-patch-autopsy"
|
||||
|
||||
tasks.register<com.ullink.Msbuild>("buildC#") {
|
||||
|
|
Loading…
Reference in a new issue