Snapshot for release 2026.10.27.1 (internal 48d0d60)

This commit is contained in:
Tom Bohar 2026-10-27 08:41:02 -04:00
commit 2dd532963f
31 changed files with 2995 additions and 118 deletions

View file

@ -156,7 +156,13 @@ public sealed partial class RynthDefectivePlugin : RynthPluginBase
else if (_barWindow != null) { _barWindow.Visible = !_barWindow.Visible; _barWindow.NeedsPass = true; NoteNoUi(_barWindow.Visible); }
break;
case DefVerb.Selection when c.Text.Length > 0:
if (uint.TryParse(c.Text.Replace("0x", "", StringComparison.OrdinalIgnoreCase), System.Globalization.NumberStyles.HexNumber, null, out uint pick))
// Test hooks: "/rdef selection 0x80001234" selects that object; "stack" the first stack in the pack.
if (c.Text.Equals("stack", StringComparison.OrdinalIgnoreCase))
{
foreach (var it in _session.Items())
if (it.Stack > 1 && !it.Wielded) { Host.SelectItem(it.Id); break; }
}
else if (uint.TryParse(c.Text.Replace("0x", "", StringComparison.OrdinalIgnoreCase), System.Globalization.NumberStyles.HexNumber, null, out uint pick))
Host.SelectItem(pick);
break;
case DefVerb.Selection: