mirror of
https://gitgud.io/AbstractConcept/rimworld-animations-patch.git
synced 2024-08-15 00:43:27 +00:00
27 lines
671 B
C#
27 lines
671 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Verse;
|
|
using HarmonyLib;
|
|
using System.Reflection;
|
|
using rjw;
|
|
|
|
namespace Rimworld_Animations_Patch
|
|
{
|
|
[StaticConstructorOnStartup]
|
|
public static class Harmony_PatchAll
|
|
{
|
|
static Harmony_PatchAll()
|
|
{
|
|
Harmony harmony = new Harmony("Rimworld_Animations_Patch");
|
|
harmony.PatchAll(Assembly.GetExecutingAssembly());
|
|
|
|
Quirk voyeur = new Quirk("Voyeur", "VoyeurQuirk", null, null);
|
|
|
|
if (Quirk.All.Contains(voyeur) == false)
|
|
{ Quirk.All.Add(voyeur); }
|
|
}
|
|
}
|
|
}
|