-
Notifications
You must be signed in to change notification settings - Fork 0
/
LivesMod.cs
42 lines (29 loc) · 887 Bytes
/
LivesMod.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
40
41
42
using System;
using Terraria.ModLoader;
using HamstarHelpers.Services.Messages.Inbox;
using HamstarHelpers.Helpers.TModLoader.Mods;
namespace Lives {
partial class LivesMod : Mod {
public static LivesMod Instance { get; private set; }
////////////////
public LivesMod() {
LivesMod.Instance = this;
}
public override void Load() {
}
public override void PostSetupContent() {
InboxMessages.SetMessage(
"LivesFeaturingContinues",
"As of v2.0.0, Lives mod now features continues. These need to be enabled by config. Set \"ContinuesLimit\" to -1 for unlimited continues, or > 0 for a finite amount.",
false
);
}
public override void Unload() {
LivesMod.Instance = null;
}
////////////////
public override object Call( params object[] args ) {
return ModBoilerplateHelpers.HandleModCall( typeof( LivesAPI ), args );
}
}
}