Insurance context menus; Autoswitch while trading

This commit is contained in:
Tyfon
2024-05-28 03:32:37 -07:00
parent d8b17d19b9
commit a0ffdc2e9d
5 changed files with 485 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ namespace UIFixes
public static ConfigEntry<WeaponPresetConfirmationOption> ShowPresetConfirmations { get; set; }
public static ConfigEntry<TransferConfirmationOption> ShowTransferConfirmations { get; set; }
public static ConfigEntry<bool> AutofillQuestTurnIns { get; set; }
public static ConfigEntry<bool> AutoSwitchTrading { get; set; }
// Input
public static ConfigEntry<bool> UseHomeEnd { get; set; }
@@ -97,6 +98,15 @@ namespace UIFixes
null,
new ConfigurationManagerAttributes { })));
configEntries.Add(AutoSwitchTrading = config.Bind(
GeneralSection,
"Autoswitch Buy/Sell when Trading",
true,
new ConfigDescription(
"Click a trader's item, switch to buy mode. Control-click your item, switch to sell mode.",
null,
new ConfigurationManagerAttributes { })));
// Input
configEntries.Add(UseHomeEnd = config.Bind(
InputSection,