Snapshot for release 2026.10.29.2 (internal 6c69cb8)

This commit is contained in:
Tom Bohar 2026-10-29 07:19:19 -04:00
commit 6c15f65e94
8 changed files with 41 additions and 8 deletions

View file

@ -105,6 +105,12 @@ internal sealed class DefSettings
public KindFilter PreferredKind = KindFilter.All;
/// <summary>Weapon swaps are refused while RynthAi's macro runs (it picks the weapon itself); this lets them through.</summary>
public bool SwapWhileBotRuns;
/// <summary>
/// The Weapons button (the sword) in the Shortcuts bar's title (2026-10-29). Off (the default): the
/// title holds only edit, settings and hide, so a click aimed at one doesn't open the weapon picker;
/// the picker opens from the settings window, the bar's right-click menu and /rdef weapons.
/// </summary>
public bool WeaponsButtonOnBar;
public bool BarOpen;
public bool PickerOpen;

View file

@ -66,6 +66,7 @@ internal sealed class DefStore
st.ShowCounts = Bool(s, "showCounts", st.ShowCounts);
st.PreferredKind = (KindFilter)Int(s, "preferredKind", (int)st.PreferredKind);
st.SwapWhileBotRuns = Bool(s, "swapWhileBotRuns", st.SwapWhileBotRuns);
st.WeaponsButtonOnBar = Bool(s, "weaponsButtonOnBar", st.WeaponsButtonOnBar); // missing (a file from before 2026-10-29): off
st.IndependentBar = Bool(s, "independentBar", st.IndependentBar); // missing (a file from before 2026-10-27): off
st.BarOpen = Bool(s, "barOpen", st.BarOpen);
st.PickerOpen = Bool(s, "pickerOpen", st.PickerOpen);
@ -163,6 +164,7 @@ internal sealed class DefStore
w.WriteBoolean("showCounts", s.ShowCounts);
w.WriteNumber("preferredKind", (int)s.PreferredKind);
w.WriteBoolean("swapWhileBotRuns", s.SwapWhileBotRuns);
w.WriteBoolean("weaponsButtonOnBar", s.WeaponsButtonOnBar);
w.WriteBoolean("independentBar", s.IndependentBar);
w.WriteBoolean("barOpen", s.BarOpen);
w.WriteBoolean("pickerOpen", s.PickerOpen);