-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMod.cs
More file actions
31 lines (26 loc) · 948 Bytes
/
Copy pathMod.cs
File metadata and controls
31 lines (26 loc) · 948 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
using HarmonyLib;
using System;
using System.Collections;
using UnityEngine;
namespace SlowModNS
{
public class SlowMod : Mod
{
public void Awake()
{
Settings.short_length = Config.GetEntry<float>("short_length", 90f);
Settings.normal_length = Config.GetEntry<float>("normal_length", 120f);
Settings.long_length = Config.GetEntry<float>("long_length", 200f);
Settings.short_length.UI.Name = "Short Moon Length";
Settings.normal_length.UI.Name = "Normal Moon Length";
Settings.long_length.UI.Name = "Long Moon Length";
Settings.short_length.UI.Tooltip = "seconds";
Settings.normal_length.UI.Tooltip = "seconds";
Settings.long_length.UI.Tooltip = "seconds";
this.Harmony.PatchAll(typeof(Patches));
}
public override void Ready()
{
}
}
}