feat(suite): Vaulted Dungeons tab, Oracle breeding/charms, Mini Remote Options

Port tonight's Suite work onto standing sk for upstream release prep: ILT Vaulted Dungeons (Options-gated), chat 0x1C channels, Oracle Charms/Pet Breeding, Mini Remote Options opens Settings. HandWrittenVersion stays 0.5.0-legacy-ui.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
BlankenshipG 2026-10-16 00:55:13 -04:00
commit 0532d8d981
43 changed files with 2129 additions and 197 deletions

View file

@ -81,10 +81,20 @@ internal sealed class LongValuePicker : ContentControl
_box.Width = 80;
_box.Margin = new Thickness(4, 0, 0, 0);
ToolTip.SetTip(_box, "Any number, named or not");
_combo = new ComboBox { HorizontalAlignment = HorizontalAlignment.Stretch, MinWidth = 160 };
_combo = new ComboBox
{
HorizontalAlignment = HorizontalAlignment.Stretch,
MinWidth = 160,
IsTextSearchEnabled = true, // type while open to jump (Olthoi, Virindi, …)
MaxDropDownHeight = 360,
};
_combo.DisplayMemberBinding = new Avalonia.Data.Binding(nameof(Opt.Display));
if (LootRuleText.ValueTableIsFlags(key))
ToolTip.SetTip(_combo, "Flags: other combinations are typed as a number in the box");
else if (key == 166)
ToolTip.SetTip(_combo, "Slayer creature type — pick by name (list is A–Z). Any slayer: use >= 1");
else
ToolTip.SetTip(_combo, "Pick by name, or type a number in the box");
_combo.SelectionChanged += (_, _) =>
{
if (_syncing || _combo.SelectedItem is not Opt { Id: int id }) return;

View file

@ -39,12 +39,19 @@ internal static partial class Program
{
("skills", LootRuleText.Skills), ("wield requirements", LootRuleText.WieldRequirements),
("materials", LootRuleText.Materials), ("damage types", LootRuleText.DamageTypes),
("creature types", LootRuleText.CreatureTypes),
})
{
Eq(table.Select(t => t.Id).Distinct().Count(), table.Length, $"{label}: ids unique");
Check(table.All(t => t.Name.Length > 0 && t.Name.All(ch => ch >= 32 && ch < 128)), $"{label}: names ASCII");
Eq(table.Select(t => t.Name).Distinct().Count(), table.Length, $"{label}: names unique");
}
Check(ReferenceEquals(LootRuleText.ValueTableFor(166), LootRuleText.CreatureTypes), "166 Slayer Type -> creature types");
Eq(LootRuleText.LongKeys.First(k => k.Id == 166).Name, "Slayer Type", "166 player-facing name");
Eq(LootRuleText.ValueName(166, "1"), "Olthoi", "ValueName 166/1 Olthoi");
Check(LootRuleText.CreatureTypes.Select(t => t.Name)
.SequenceEqual(LootRuleText.CreatureTypes.Select(t => t.Name).OrderBy(n => n, StringComparer.OrdinalIgnoreCase)),
"creature types listed alphabetically");
// Retail / ACE numbering (the old table had Light Weapons at 47, which is Missile Weapons).
string Skill(int id) => LootRuleText.Skills.First(s => s.Id == id).Name;