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
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue