mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
major cleanup
This commit is contained in:
parent
b33e15377f
commit
e5242f76c7
85 changed files with 584 additions and 571 deletions
|
@ -15,9 +15,9 @@ class VRIKPatches
|
|||
//only run for PlayerLocal VRIK
|
||||
if (__instance.gameObject.layer != 8) return;
|
||||
|
||||
if (FuckToesMod.m_entryEnabledVR.Value && MetaPort.Instance.isUsingVr)
|
||||
if (FuckToes.EntryEnabledVR.Value && MetaPort.Instance.isUsingVr)
|
||||
{
|
||||
if (!FuckToesMod.m_entryEnabledFBT.Value && MetaPort.Instance.isUsingFullbody) return;
|
||||
if (!FuckToes.EntryEnabledFBT.Value && MetaPort.Instance.isUsingFullbody) return;
|
||||
__instance.references.leftToes = null;
|
||||
__instance.references.rightToes = null;
|
||||
}
|
|
@ -2,17 +2,19 @@
|
|||
|
||||
namespace NAK.FuckToes;
|
||||
|
||||
public class FuckToesMod : MelonMod
|
||||
public class FuckToes : MelonMod
|
||||
{
|
||||
internal const string SettingsCategory = "FuckToes";
|
||||
internal static MelonPreferences_Category m_categoryFuckToes;
|
||||
internal static MelonPreferences_Entry<bool> m_entryEnabledVR, m_entryEnabledFBT;
|
||||
public static readonly MelonPreferences_Category Category =
|
||||
MelonPreferences.CreateCategory(nameof(FuckToes));
|
||||
|
||||
public static readonly MelonPreferences_Entry<bool> EntryEnabledVR =
|
||||
Category.CreateEntry("Enabled", true, "Nuke VRIK toes when in Halfbody.");
|
||||
|
||||
public static readonly MelonPreferences_Entry<bool> EntryEnabledFBT =
|
||||
Category.CreateEntry("Enabled in FBT", false, "Nuke VRIK toes when in FBT.");
|
||||
|
||||
public override void OnInitializeMelon()
|
||||
{
|
||||
m_categoryFuckToes = MelonPreferences.CreateCategory(SettingsCategory);
|
||||
m_entryEnabledVR = m_categoryFuckToes.CreateEntry<bool>("Enabled", true, description: "Nuke VRIK toes when in Halfbody.");
|
||||
m_entryEnabledFBT = m_categoryFuckToes.CreateEntry<bool>("Enabled in FBT", false, description: "Nuke VRIK toes when in FBT.");
|
||||
|
||||
//Apply patches (i stole)
|
||||
ApplyPatches(typeof(HarmonyPatches.VRIKPatches));
|
||||
}
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
using MelonLoader;
|
||||
using System.Reflection;
|
||||
|
||||
|
||||
[assembly: AssemblyVersion(AssemblyInfoParams.Version)]
|
||||
[assembly: AssemblyFileVersion(AssemblyInfoParams.Version)]
|
||||
[assembly: AssemblyInformationalVersion(AssemblyInfoParams.Version)]
|
||||
|
@ -11,11 +10,11 @@ using System.Reflection;
|
|||
[assembly: AssemblyProduct(nameof(NAK.FuckToes))]
|
||||
|
||||
[assembly: MelonInfo(
|
||||
typeof(NAK.FuckToes.FuckToesMod),
|
||||
typeof(NAK.FuckToes.FuckToes),
|
||||
nameof(NAK.FuckToes),
|
||||
AssemblyInfoParams.Version,
|
||||
AssemblyInfoParams.Author,
|
||||
downloadLink: "https://github.com/NotAKidOnSteam/FuckToes"
|
||||
downloadLink: "https://github.com/NotAKidOnSteam/NAK_CVR_Mods/tree/main/FuckToes"
|
||||
)]
|
||||
|
||||
[assembly: MelonGame("Alpha Blend Interactive", "ChilloutVR")]
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
"requirements": [
|
||||
"None"
|
||||
],
|
||||
"downloadlink": "https://github.com/NotAKidOnSteam/FuckToes/releases/download/v1.0.1/FuckToes.dll",
|
||||
"sourcelink": "https://github.com/NotAKidOnSteam/FuckToes/",
|
||||
"downloadlink": "https://github.com/NotAKidOnSteam/NAK_CVR_Mods/releases/download/r3/FuckToes.dll",
|
||||
"sourcelink": "https://github.com/NotAKidOnSteam/NAK_CVR_Mods/tree/main/FuckToes/",
|
||||
"changelog": "- Initial Release\n- No double patching. Bad. Stinky. Dont do it.",
|
||||
"embedcolor": "#ffc700"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue