reload in place

This commit is contained in:
Tyfon
2024-07-18 14:42:18 -07:00
parent cf23b39353
commit b748eb96ba
5 changed files with 169 additions and 2 deletions

View File

@@ -81,6 +81,7 @@ internal class Settings
public static ConfigEntry<MultiSelectStrategy> MultiSelectStrat { get; set; }
public static ConfigEntry<bool> ShowMultiSelectDebug { get; set; } // Advanced
public static ConfigEntry<bool> SwapItems { get; set; }
public static ConfigEntry<bool> SwapMags { get; set; }
public static ConfigEntry<bool> SwapImpossibleContainers { get; set; }
public static ConfigEntry<bool> ReorderGrids { get; set; }
public static ConfigEntry<bool> SynchronizeStashScrolling { get; set; }
@@ -398,6 +399,15 @@ internal class Settings
null,
new ConfigurationManagerAttributes { })));
configEntries.Add(SwapMags = config.Bind(
InventorySection,
"Reload Magazines In-Place",
true,
new ConfigDescription(
"When reloading a weapon with a magazine, swap locations with the new magazine (if possible)",
null,
new ConfigurationManagerAttributes { })));
configEntries.Add(SwapImpossibleContainers = config.Bind(
InventorySection,
"Swap with Incompatible Containers",