fix descriptions

This commit is contained in:
NotAKidoS 2023-04-26 15:59:38 -05:00
parent e5242f76c7
commit b4ea7baba4
7 changed files with 25 additions and 25 deletions

View file

@ -14,34 +14,34 @@ public class Blackout : MelonMod
MelonPreferences.CreateCategory(SettingsCategory); MelonPreferences.CreateCategory(SettingsCategory);
public static readonly MelonPreferences_Entry<bool> EntryEnabled = public static readonly MelonPreferences_Entry<bool> 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<bool> EntryHudMessages = public static readonly MelonPreferences_Entry<bool> 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<bool> EntryDropFPSOnSleep = public static readonly MelonPreferences_Entry<bool> 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<bool> EntryDrowsyVelocityMultiplier = public static readonly MelonPreferences_Entry<bool> 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<bool> EntryAutoSleepState = public static readonly MelonPreferences_Entry<bool> 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<float> EntryDrowsyThreshold = public static readonly MelonPreferences_Entry<float> 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<float> EntryAwakeThreshold = public static readonly MelonPreferences_Entry<float> 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<float> EntryDrowsyModeTimer = public static readonly MelonPreferences_Entry<float> 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<float> EntrySleepModeTimer = public static readonly MelonPreferences_Entry<float> 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<float> EntryDrowsyDimStrength = public static readonly MelonPreferences_Entry<float> 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() public override void OnInitializeMelon()
{ {

View file

@ -10,10 +10,10 @@ public class CVRGizmos : MelonMod
MelonPreferences.CreateCategory(nameof(CVRGizmos)); MelonPreferences.CreateCategory(nameof(CVRGizmos));
public static readonly MelonPreferences_Entry<bool> EntryEnabled = public static readonly MelonPreferences_Entry<bool> 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<bool> EntryLocalOnly = public static readonly MelonPreferences_Entry<bool> 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() public override void OnInitializeMelon()
{ {

View file

@ -23,7 +23,7 @@ public class DesktopVRSwitch : MelonMod
MelonPreferences.CreateCategory(nameof(DesktopVRSwitch)); MelonPreferences.CreateCategory(nameof(DesktopVRSwitch));
public static readonly MelonPreferences_Entry<bool> EntryEnterCalibrationOnSwitch = public static readonly MelonPreferences_Entry<bool> 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() public override void OnInitializeMelon()
{ {

View file

@ -8,10 +8,10 @@ public class FuckToes : MelonMod
MelonPreferences.CreateCategory(nameof(FuckToes)); MelonPreferences.CreateCategory(nameof(FuckToes));
public static readonly MelonPreferences_Entry<bool> EntryEnabledVR = public static readonly MelonPreferences_Entry<bool> 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<bool> EntryEnabledFBT = public static readonly MelonPreferences_Entry<bool> 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() public override void OnInitializeMelon()
{ {

View file

@ -11,10 +11,10 @@ public class PathCamDisabler : MelonMod
MelonPreferences.CreateCategory(nameof(PathCamDisabler)); MelonPreferences.CreateCategory(nameof(PathCamDisabler));
public static readonly MelonPreferences_Entry<bool> EntryDisablePathCam = public static readonly MelonPreferences_Entry<bool> 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<bool> EntryDisableFlightBind = public static readonly MelonPreferences_Entry<bool> 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() public override void OnInitializeMelon()
{ {

View file

@ -12,17 +12,17 @@ public class PickupPushPull : MelonMod
//Global settings //Global settings
public static readonly MelonPreferences_Entry<float> EntryPushPullSpeed = public static readonly MelonPreferences_Entry<float> EntryPushPullSpeed =
Category.CreateEntry<float>("Push Pull Speed", 2f, "Up/down on right joystick for VR. Left button + Up/down on right joystick for Gamepad."); Category.CreateEntry<float>("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<float> EntryRotateSpeed = public static readonly MelonPreferences_Entry<float> EntryRotateSpeed =
Category.CreateEntry<float>("Rotate Speed", 6f); Category.CreateEntry<float>("Rotate Speed", 6f);
public static readonly MelonPreferences_Entry<bool> EntryEnableRotation = public static readonly MelonPreferences_Entry<bool> EntryEnableRotation =
Category.CreateEntry<bool>("Enable Rotation", false, "Hold left trigger in VR or right button on Gamepad."); Category.CreateEntry<bool>("Enable Rotation", false, description: "Hold left trigger in VR or right button on Gamepad.");
//Desktop settings //Desktop settings
public static readonly MelonPreferences_Entry<bool> EntryDesktopUseZoomForRotate = public static readonly MelonPreferences_Entry<bool> EntryDesktopUseZoomForRotate =
Category.CreateEntry<bool>("Desktop Use Zoom For Rotate", true, "Use zoom bind for rotation while a prop is held."); Category.CreateEntry<bool>("Desktop Use Zoom For Rotate", true, description: "Use zoom bind for rotation while a prop is held.");
//VR settings //VR settings
public static readonly MelonPreferences_Entry<BindingOptionsVR.BindHand> EntryVRRotateHand = public static readonly MelonPreferences_Entry<BindingOptionsVR.BindHand> EntryVRRotateHand =

View file

@ -26,11 +26,11 @@ public class PropUndoButton : MelonMod
internal static List<DeletedProp> deletedProps = new List<DeletedProp>(); internal static List<DeletedProp> deletedProps = new List<DeletedProp>();
// audio clip names, InterfaceAudio adds "PropUndo_" prefix // audio clip names, InterfaceAudio adds "PropUndo_" prefix
internal const string sfx_spawn = "PropUndo_sfx_spawn"; const string sfx_spawn = "PropUndo_sfx_spawn";
internal const string sfx_undo = "PropUndo_sfx_undo"; const string sfx_undo = "PropUndo_sfx_undo";
internal const string sfx_redo = "PropUndo_sfx_redo"; const string sfx_redo = "PropUndo_sfx_redo";
internal const string sfx_warn = "PropUndo_sfx_warn"; const string sfx_warn = "PropUndo_sfx_warn";
internal const string sfx_deny = "PropUndo_sfx_deny"; const string sfx_deny = "PropUndo_sfx_deny";
const int redoHistoryLimit = 20; // amount that can be in history at once const int redoHistoryLimit = 20; // amount that can be in history at once
const int redoTimeoutLimit = 120; // seconds const int redoTimeoutLimit = 120; // seconds