From b4ea7baba4b682131b6c3d6a10630acdae2cdf9d Mon Sep 17 00:00:00 2001 From: NotAKidoS <37721153+NotAKidOnSteam@users.noreply.github.com> Date: Wed, 26 Apr 2023 15:59:38 -0500 Subject: [PATCH] fix descriptions --- Blackout/Main.cs | 20 ++++++++++---------- CVRGizmos/Main.cs | 4 ++-- DesktopVRSwitch/Main.cs | 2 +- FuckToes/Main.cs | 4 ++-- PathCamDisabler/Main.cs | 4 ++-- PickupPushPull/Main.cs | 6 +++--- PropUndoButton/Main.cs | 10 +++++----- 7 files changed, 25 insertions(+), 25 deletions(-) diff --git a/Blackout/Main.cs b/Blackout/Main.cs index 0a1e23d..8ad8826 100644 --- a/Blackout/Main.cs +++ b/Blackout/Main.cs @@ -14,34 +14,34 @@ public class Blackout : MelonMod MelonPreferences.CreateCategory(SettingsCategory); public static readonly MelonPreferences_Entry EntryEnabled = - CategoryBlackout.CreateEntry("Automatic State Change", true, "Should the screen automatically dim if head is still for enough time?"); + CategoryBlackout.CreateEntry("Automatic State Change", true, description: "Should the screen automatically dim if head is still for enough time?"); public static readonly MelonPreferences_Entry EntryHudMessages = - CategoryBlackout.CreateEntry("Hud Messages", true, "Notify on state change."); + CategoryBlackout.CreateEntry("Hud Messages", true, description: "Notify on state change."); public static readonly MelonPreferences_Entry EntryDropFPSOnSleep = - CategoryBlackout.CreateEntry("Limit FPS While Sleep", false, "Limits FPS to 5 while in Sleep State. This only works in Desktop, as SteamVR/HMD handles VR FPS."); + CategoryBlackout.CreateEntry("Limit FPS While Sleep", false, description: "Limits FPS to 5 while in Sleep State. This only works in Desktop, as SteamVR/HMD handles VR FPS."); public static readonly MelonPreferences_Entry EntryDrowsyVelocityMultiplier = - CategoryBlackout.CreateEntry("Drowsy Velocity Multiplier", true, "Should head velocity act as a multiplier to Drowsy Dim Strength?"); + CategoryBlackout.CreateEntry("Drowsy Velocity Multiplier", true, description: "Should head velocity act as a multiplier to Drowsy Dim Strength?"); public static readonly MelonPreferences_Entry EntryAutoSleepState = - CategoryBlackout.CreateEntry("Auto Sleep State", true, "Should the sleep state be used during Automatic State Change?"); + CategoryBlackout.CreateEntry("Auto Sleep State", true, description: "Should the sleep state be used during Automatic State Change?"); public static readonly MelonPreferences_Entry EntryDrowsyThreshold = - CategoryBlackout.CreateEntry("Drowsy Threshold", 2f, "Velocity to return partial vision."); + CategoryBlackout.CreateEntry("Drowsy Threshold", 2f, description: "Velocity to return partial vision."); public static readonly MelonPreferences_Entry EntryAwakeThreshold = - CategoryBlackout.CreateEntry("Awake Threshold", 4f, "Velocity to return full vision."); + CategoryBlackout.CreateEntry("Awake Threshold", 4f, description: "Velocity to return full vision."); public static readonly MelonPreferences_Entry EntryDrowsyModeTimer = - CategoryBlackout.CreateEntry("Enter Drowsy Time (Minutes)", 3f, "How many minutes without movement until enter drowsy mode."); + CategoryBlackout.CreateEntry("Enter Drowsy Time (Minutes)", 3f, description: "How many minutes without movement until enter drowsy mode."); public static readonly MelonPreferences_Entry EntrySleepModeTimer = - CategoryBlackout.CreateEntry("Enter Sleep Time (Seconds)", 10f, "How many seconds without movement until enter sleep mode."); + CategoryBlackout.CreateEntry("Enter Sleep Time (Seconds)", 10f, description: "How many seconds without movement until enter sleep mode."); public static readonly MelonPreferences_Entry EntryDrowsyDimStrength = - CategoryBlackout.CreateEntry("Drowsy Dim Strength", 0.6f, "How strong of a dimming effect should drowsy mode have."); + CategoryBlackout.CreateEntry("Drowsy Dim Strength", 0.6f, description: "How strong of a dimming effect should drowsy mode have."); public override void OnInitializeMelon() { diff --git a/CVRGizmos/Main.cs b/CVRGizmos/Main.cs index f8896a0..cdd091a 100644 --- a/CVRGizmos/Main.cs +++ b/CVRGizmos/Main.cs @@ -10,10 +10,10 @@ public class CVRGizmos : MelonMod MelonPreferences.CreateCategory(nameof(CVRGizmos)); public static readonly MelonPreferences_Entry EntryEnabled = - CategoryCVRGizmos.CreateEntry("Enabled", false, description: "Toggle CVR Gizmos entirely.", dont_save_default: true); + CategoryCVRGizmos.CreateEntry("Enabled", false, description: "Toggle CVR Gizmos entirely."); public static readonly MelonPreferences_Entry EntryLocalOnly = - CategoryCVRGizmos.CreateEntry("Local Only", false, description: "Toggle CVR Gizmos local-only mode.", dont_save_default: true); + CategoryCVRGizmos.CreateEntry("Local Only", false, description: "Toggle CVR Gizmos local-only mode."); public override void OnInitializeMelon() { diff --git a/DesktopVRSwitch/Main.cs b/DesktopVRSwitch/Main.cs index 7add8b2..2d66e7a 100644 --- a/DesktopVRSwitch/Main.cs +++ b/DesktopVRSwitch/Main.cs @@ -23,7 +23,7 @@ public class DesktopVRSwitch : MelonMod MelonPreferences.CreateCategory(nameof(DesktopVRSwitch)); public static readonly MelonPreferences_Entry EntryEnterCalibrationOnSwitch = - Category.CreateEntry("Enter Calibration on Switch", true, "Should you automatically be placed into calibration after switch if FBT is available? Overridden by Save Calibration IK setting."); + Category.CreateEntry("Enter Calibration on Switch", true, description: "Should you automatically be placed into calibration after switch if FBT is available? Overridden by Save Calibration IK setting."); public override void OnInitializeMelon() { diff --git a/FuckToes/Main.cs b/FuckToes/Main.cs index 5e4abfa..b12f45e 100644 --- a/FuckToes/Main.cs +++ b/FuckToes/Main.cs @@ -8,10 +8,10 @@ public class FuckToes : MelonMod MelonPreferences.CreateCategory(nameof(FuckToes)); public static readonly MelonPreferences_Entry EntryEnabledVR = - Category.CreateEntry("Enabled", true, "Nuke VRIK toes when in Halfbody."); + Category.CreateEntry("Enabled", true, description: "Nuke VRIK toes when in Halfbody."); public static readonly MelonPreferences_Entry EntryEnabledFBT = - Category.CreateEntry("Enabled in FBT", false, "Nuke VRIK toes when in FBT."); + Category.CreateEntry("Enabled in FBT", false, description: "Nuke VRIK toes when in FBT."); public override void OnInitializeMelon() { diff --git a/PathCamDisabler/Main.cs b/PathCamDisabler/Main.cs index 2673006..8f335d5 100644 --- a/PathCamDisabler/Main.cs +++ b/PathCamDisabler/Main.cs @@ -11,10 +11,10 @@ public class PathCamDisabler : MelonMod MelonPreferences.CreateCategory(nameof(PathCamDisabler)); public static readonly MelonPreferences_Entry EntryDisablePathCam = - Category.CreateEntry("Disable Path Camera Controller.", true, "Disable Path Camera Controller."); + Category.CreateEntry("Disable Path Camera Controller.", true, description: "Disable Path Camera Controller."); public static readonly MelonPreferences_Entry EntryDisableFlightBind = - Category.CreateEntry("Disable Flight Binding (if controller off).", false, "Disable flight bind if Path Camera Controller is also disabled."); + Category.CreateEntry("Disable Flight Binding (if controller off).", false, description: "Disable flight bind if Path Camera Controller is also disabled."); public override void OnInitializeMelon() { diff --git a/PickupPushPull/Main.cs b/PickupPushPull/Main.cs index a8f7140..bce687b 100644 --- a/PickupPushPull/Main.cs +++ b/PickupPushPull/Main.cs @@ -12,17 +12,17 @@ public class PickupPushPull : MelonMod //Global settings public static readonly MelonPreferences_Entry EntryPushPullSpeed = - Category.CreateEntry("Push Pull Speed", 2f, "Up/down on right joystick for VR. Left button + Up/down on right joystick for Gamepad."); + Category.CreateEntry("Push Pull Speed", 2f, description: "Up/down on right joystick for VR. Left button + Up/down on right joystick for Gamepad."); public static readonly MelonPreferences_Entry EntryRotateSpeed = Category.CreateEntry("Rotate Speed", 6f); public static readonly MelonPreferences_Entry EntryEnableRotation = - Category.CreateEntry("Enable Rotation", false, "Hold left trigger in VR or right button on Gamepad."); + Category.CreateEntry("Enable Rotation", false, description: "Hold left trigger in VR or right button on Gamepad."); //Desktop settings public static readonly MelonPreferences_Entry EntryDesktopUseZoomForRotate = - Category.CreateEntry("Desktop Use Zoom For Rotate", true, "Use zoom bind for rotation while a prop is held."); + Category.CreateEntry("Desktop Use Zoom For Rotate", true, description: "Use zoom bind for rotation while a prop is held."); //VR settings public static readonly MelonPreferences_Entry EntryVRRotateHand = diff --git a/PropUndoButton/Main.cs b/PropUndoButton/Main.cs index 9d47bfd..8f95084 100644 --- a/PropUndoButton/Main.cs +++ b/PropUndoButton/Main.cs @@ -26,11 +26,11 @@ public class PropUndoButton : MelonMod internal static List deletedProps = new List(); // audio clip names, InterfaceAudio adds "PropUndo_" prefix - internal const string sfx_spawn = "PropUndo_sfx_spawn"; - internal const string sfx_undo = "PropUndo_sfx_undo"; - internal const string sfx_redo = "PropUndo_sfx_redo"; - internal const string sfx_warn = "PropUndo_sfx_warn"; - internal const string sfx_deny = "PropUndo_sfx_deny"; + const string sfx_spawn = "PropUndo_sfx_spawn"; + const string sfx_undo = "PropUndo_sfx_undo"; + const string sfx_redo = "PropUndo_sfx_redo"; + const string sfx_warn = "PropUndo_sfx_warn"; + const string sfx_deny = "PropUndo_sfx_deny"; const int redoHistoryLimit = 20; // amount that can be in history at once const int redoTimeoutLimit = 120; // seconds