[AvatarScaleMod] Implement actual avatar scaling as test.

fuckin 30 minutes proof of concept
This commit is contained in:
NotAKidoS 2023-06-22 21:47:50 -05:00
parent 3d8f392f1d
commit 44d5c7762b
3 changed files with 44 additions and 19 deletions

View file

@ -8,6 +8,8 @@ public class AvatarScaleMod : MelonMod
internal const float MinimumHeight = 0.25f;
internal const float MaximumHeight = 2.5f;
internal static MelonLogger.Instance Logger;
public static readonly MelonPreferences_Category Category =
MelonPreferences.CreateCategory(nameof(AvatarScaleMod));
@ -22,6 +24,7 @@ public class AvatarScaleMod : MelonMod
public override void OnInitializeMelon()
{
Logger = LoggerInstance;
ApplyPatches(typeof(HarmonyPatches.PlayerSetupPatches));
}