-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMainFile.cs
More file actions
39 lines (31 loc) · 1009 Bytes
/
MainFile.cs
File metadata and controls
39 lines (31 loc) · 1009 Bytes
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 BaseLib.Utils;
using HarmonyLib;
using MegaCrit.Sts2.Core.Modding;
using Oddmelt.OddmeltCode.Nodes;
using Oddmelt.OddmeltCode.Patches;
namespace Oddmelt;
/**
* Ideas
*
* Self Bind
*
* Bind effect - square texture based on model size, lines random generated (amount equal to bind amount)
* shader of transparency of line based on average of point spread of the model
* colored
*
* Bind... rename? Necrobinder kinda overlaps.
* */
[ModInitializer(nameof(Initialize))]
public class MainFile
{
public const string ModId = "Oddmelt"; //At the moment, this is used only for the Logger and harmony names.
public static MegaCrit.Sts2.Core.Logging.Logger Logger { get; } =
new(ModId, MegaCrit.Sts2.Core.Logging.LogType.Generic);
public static void Initialize()
{
Harmony harmony = new(ModId);
IgnoreWovenCards.Patch(harmony);
harmony.PatchAll();
GeneratedNodePool.Init(NStitchCardHolder.NewInstanceForPool, 25);
}
}