-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPIRMPlugin.cs
39 lines (33 loc) · 1.18 KB
/
PIRMPlugin.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using System;
using BepInEx;
using BepInEx.Configuration;
namespace PIRM
{
[BepInPlugin("com.dvize.PIRM", "dvize.PIRM", "2.0.1")]
//[BepInDependency("com.spt-aki.core", "3.7.4")]
class PIRMPlugin : BaseUnityPlugin
{
internal static ConfigEntry<Boolean> AllowSwapAnyArmorPlate
{
get; set;
}
private void Awake()
{
AllowSwapAnyArmorPlate = Config.Bind("1. Main Settings", "AllowSwapAnyArmorPlate", false,
new ConfigDescription("Allows swapping different types of armor plates in eachothers slots", null,
new ConfigurationManagerAttributes { IsAdvanced = false, Order = 1 }));
}
private void Start()
{
new PIRMMethod17Patch().Enable();
new InteractionsHandlerPatch().Enable();
new ItemCheckAction().Enable();
new EFTInventoryLogicModPatch().Enable();
new LootItemApplyPatch().Enable();
new SlotRemoveItemPatch().Enable();
new CanAcceptRaidPatch().Enable();
new SlotMethod4Patch().Enable();
new IsModSuitablePatch().Enable();
}
}
}