forked from PULSAR-Modders/NoPlayerHealing
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMod.cs
More file actions
32 lines (25 loc) · 828 Bytes
/
Copy pathMod.cs
File metadata and controls
32 lines (25 loc) · 828 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
using PulsarModLoader;
using PulsarModLoader.Keybinds;
namespace NoPlayerHealing
{
public class Mod : PulsarMod, IKeybind
{
public static Mod Instance { get; private set; }
public Mod()
{
Instance = this;
}
public override string Version => "1.0.0";
public override string Author => "OnHyex";
public override string ShortDescription => "Prevents the player from healing";
public override string Name => "No Player Healing";
public override string HarmonyIdentifier()
{
return $"{Author}.{Name}";
}
public void RegisterBinds(KeybindManager manager)
{
manager.NewBind("No Player Healing", "NoPlayerHealing", "Basics", "p");
}
}
}