Skip to content

Commit 697a089

Browse files
Merge pull request #496 from josephabyt/master
quick start mods
2 parents e9a0590 + 56c8e47 commit 697a089

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

Menu/Buttons.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,6 +1464,8 @@ public class Buttons
14641464

14651465
new ButtonInfo { buttonText = "Save Custom Preset 10", method =() => Presets.SaveCustomPreset(10), isTogglable = false, toolTip = "Saves a custom preset."},
14661466
new ButtonInfo { buttonText = "Load Custom Preset 10", method =() => Presets.LoadCustomPreset(10), isTogglable = false, toolTip = "Loads a custom preset."},
1467+
1468+
new ButtonInfo { buttonText = "Quick Start Mods", method =() => Presets.SimplePreset(), isTogglable = false, toolTip = "Enables some mods that attempt to improve your experience using the menu."},
14671469
},
14681470

14691471
new ButtonInfo[] { // Advantage Settings [21]

Mods/Presets.cs

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using iiMenu.Classes;
1+
using iiMenu.Classes;
22
using iiMenu.Notifications;
33
using System.IO;
44
using static iiMenu.Menu.Main;
@@ -176,5 +176,24 @@ public static void SafetyPreset()
176176

177177
NotifiLib.SendNotification("<color=grey>[</color><color=purple>PRESET</color><color=grey>]</color> Safety preset enabled successfully.");
178178
}
179+
180+
public static void SimplePreset()
181+
{
182+
string[] presetMods = new string[]
183+
{
184+
"Disable Enabled GUI",
185+
"Accept TOS",
186+
"Player Scale Menu",
187+
"High Quality Text",
188+
"PC Button Click"
189+
};
190+
191+
pageButtonType = 2;
192+
193+
foreach (string mod in presetMods)
194+
Toggle(mod);
195+
196+
NotifiLib.SendNotification("<color=grey>[</color><color=purple>PRESET</color><color=grey>]</color> Simple preset enabled successfully.");
197+
}
179198
}
180199
}

0 commit comments

Comments
 (0)