feat: port SK test branch (2026.10.18.24) onto sk

Squash of test/hotbuild-2026-10-16 as merged onto aelrynth main 2026.10.17.1, matching the
2026.10.18.24 test installer. The test branch wins where both changed the same lines; sk-only
changes kept; duplicate features cut to the test branch's copy. RynthAi HandWrittenVersion stays
0.5.0-legacy-ui on sk.

Highlights: RynthOracle 0.6.0 (Legendary, Markers, Dynamic Stamps and Temple guardians merged into
the Quests list, RynthNav Go to), RynthILT 0.2.20 (ub-IT auto-chunk rules, rating level,
RynthILT.Data v3), RynthAi ub-IT /ub and VT/MT meta compatibility and the loot attribute checklist,
RynthNav destination alternatives. Changelog/2026-10-18-sk-port-test-branch-2026.10.18.24.md.
This commit is contained in:
BlankenshipG 2026-10-18 16:22:40 -04:00
commit 7797901d69
287 changed files with 22602 additions and 1090 deletions

View file

@ -24,7 +24,7 @@
// * Healing pet (UB HealingBuddy subset): summons a heal pet when HP drops, dismisses it
// after the heal lands, holds PetManager's combat summons while it is out.
// * Auto siphon capture (ACECustom MonsterCapture): when enabled, uses the chosen lens on the
// nearest attackable creature within 5 m once it is <=20% health or under 20 HP (Asheron's
// nearest attackable creature within 5 m once it is ≤20% health or under 20 HP (Asheron's
// Lens skips the health gate). Resonance still needs a prior failed capture on the server.
// * /pets and /shinies logs: RynthILT's (RynthILT.Hub section "pets-logs", ILT only).
// * Breeding sub-tab (Infinite Leaftide only): the tab becomes Roster | Breeding when RynthILT
@ -475,8 +475,6 @@ internal sealed class PetsTab
if (essence != null) _ctx.Inventory.Use(essence);
}
// ── Active pet ──────────────────────────────────────────────────────────
// ── Auto siphon capture (ACECustom MonsterCapture) ───────────────────────
/// <summary>
@ -611,6 +609,8 @@ internal sealed class PetsTab
return true;
}
// ── Active pet ──────────────────────────────────────────────────────────
/// <summary>The live "&lt;Me&gt;'s …" creature (server pet naming), or null.</summary>
private WorldObject? FindOwnPet()
{
@ -899,19 +899,23 @@ internal sealed class PetsTab
/// <summary>Shows the Breeding sub-tab on the next frame (any thread).</summary>
public void SelectBreeding() => _selectBreeding = true;
/// <summary>
/// RynthILT offers the Breeding sub-tab: it calls this world Infinite Leaftide and the server
/// hasn't reported pet breeding off. False without RynthILT. Any thread.
/// </summary>
public bool BreedingOffered => _ctx.Ilt.IsIltWorld && !_ctx.Ilt.IsOff(RynthIltHub.FeaturePetBreeding);
/// <summary>Whether auto siphon-lens capture is on (Mini Remote Capture toggle; settings on the roster).</summary>
/// <summary>Whether auto siphon-lens capture is on (Mini Remote Options / Pets roster).</summary>
public bool AutoCaptureEnabled
{
get => S.AutoCaptureEnabled;
set => S.AutoCaptureEnabled = value;
}
/// <summary>Selected siphon lens index (<see cref="PetCaptureRules.LensNames"/>).</summary>
public int CaptureLensIndex
{
get => S.CaptureLensIndex;
set => S.CaptureLensIndex = value;
}
/// <summary>Live auto-capture status line for the Mini Remote capture row.</summary>
public string CaptureStatus => _captureStatus;
/// <summary>
/// Mini Remote Pet toggle on: enable combat auto-summon and summon the Pets tab's active
/// combat essence now (first ticked priority, or the highlighted row). Pump thread.
@ -932,19 +936,14 @@ internal sealed class PetsTab
}
/// <summary>
/// The Pets tab: the universal roster, and on Infinite Leaftide the Roster | Breeding sub-tabs
/// (Breeding is drawn by RynthILT).
/// The Pets tab: the universal Roster, and Breeding (RynthILT's breeding tracker, section
/// "pets-breeding", the same tracker as RynthOracle's Pet Breeding tab).
/// </summary>
public void Render()
{
var settings = _ctx.Settings;
if (settings == null) { ImGui.TextDisabled("Not logged in."); return; }
if (!BreedingOffered)
{
RenderRoster(settings);
return;
}
if (!ImGui.BeginTabBar("##petsub")) return;
if (ImGui.BeginTabItem("Roster##petroster"))
{
@ -955,9 +954,7 @@ internal sealed class PetsTab
_selectBreeding = false;
if (BeginTab(BreedingTabLabel, breedFlags))
{
// RynthILT's tracker; an older RynthILT (before 0.3.1) has no such section and draws nothing.
if (!_ctx.Ilt.RenderSection(RynthIltHub.SectionPetBreeding))
ImGui.TextDisabled("This RynthILT has no pet breeding tracker; update RynthILT to 0.3.1 or later.");
RenderBreeding();
ImGui.EndTabItem();
}
ImGui.EndTabBar();
@ -965,16 +962,33 @@ internal sealed class PetsTab
private static readonly byte[] BreedingTabLabel = System.Text.Encoding.UTF8.GetBytes("Breeding##petbreeding\0");
/// <summary>
/// BeginTabItem with flags but no close button (ImGui.NET pairs the flags overload with p_open,
/// which draws an X on the tab).
/// </summary>
/// <summary>BeginTabItem with flags but no close button (ImGui.NET pairs the flags overload with p_open, which draws an X).</summary>
private static unsafe bool BeginTab(byte[] labelUtf8Z, ImGuiTabItemFlags flags)
{
fixed (byte* label = labelUtf8Z)
return ImGuiNative.igBeginTabItem(label, null, flags) != 0;
}
/// <summary>
/// Breeding is Infinite Leaftide's and RynthILT's: drawn by RynthILT, with a pointer when it
/// isn't loaded or this isn't an ILT world.
/// </summary>
private void RenderBreeding()
{
if (!_ctx.Ilt.Loaded)
{
ImGui.TextDisabled("Pet breeding is tracked by RynthILT (the Infinite Leaftide plugin), which isn't loaded.");
return;
}
if (!_ctx.Ilt.IsIltWorld)
{
ImGui.TextDisabled("Pet breeding is an Infinite Leaftide feature; this world isn't Infinite Leaftide.");
return;
}
if (!_ctx.Ilt.RenderSection(RynthIltHub.SectionPetBreeding))
ImGui.TextDisabled("This RynthILT has no breeding tracker yet; update RynthILT to 0.2.7 or later.");
}
/// <summary>The universal roster: types, summons, ILT charms, healing pets and RynthILT's /pets logs.</summary>
private void RenderRoster(LegacyUiSettings settings)
{
@ -1050,7 +1064,7 @@ internal sealed class PetsTab
if (ImGui.IsItemHovered()) ImGui.SetTooltip("Dismiss the pet that is out.");
ImGui.SameLine();
if (ImGui.Button("Scan pack")) _ctx.Post(ScanPack);
if (ImGui.IsItemHovered()) ImGui.SetTooltip("Appraise every pet to refresh bond, potency and breeding, and check pet-named items\n(an \"... Essence\" name alone isn't enough — the item must be a summoning pet device).");
if (ImGui.IsItemHovered()) SafeImGui.SetTooltip("Appraise every pet to refresh bond, potency and breeding, and check pet-named items\n(an \"... Essence\" name alone isn't enough — the item must be a summoning pet device).");
ImGui.SameLine();
if (ImGui.Button("Add sel.")) _ctx.Post(() => AddSelectedAs(summonKind));
if (ImGui.IsItemHovered()) SafeImGui.SetTooltip($"Make the item selected in your pack a {KindNames[(int)kind].ToLowerInvariant()} pet.");
@ -1148,7 +1162,7 @@ internal sealed class PetsTab
_highlightId = _highlightId == r.Id ? 0 : r.Id;
RenderRowContextMenu(r);
ImGui.SetCursorPos(start);
SafeImGui.TextColored(DamageColor(r.DamageType), r.Line1);
SafeImGui.TextColored(PetDamageTint.ForName(r.DamageType), r.Line1);
SafeImGui.TextColored(LegacyDashboardRenderer.ColAmber, " " + r.Line2);
if (r.UsesMax > 0 && r.UsesCur == 0) SafeImGui.TextColored(LegacyDashboardRenderer.ColHp, " " + r.Line3);
else SafeImGui.TextDisabled(" " + r.Line3);
@ -1183,17 +1197,6 @@ internal sealed class PetsTab
ImGui.EndPopup();
}
/// <summary>Line-1 colour by the pet's damage type (white when unknown / not appraised).</summary>
private static Vector4 DamageColor(string damageType) => damageType switch
{
"Fire" => new Vector4(1.00f, 0.55f, 0.30f, 1f),
"Cold" => new Vector4(0.55f, 0.80f, 1.00f, 1f),
"Acid" => new Vector4(0.55f, 0.95f, 0.45f, 1f),
"Lightning" => new Vector4(0.85f, 0.70f, 1.00f, 1f),
"Nether" => new Vector4(0.75f, 0.50f, 0.90f, 1f),
_ => new Vector4(0.95f, 0.95f, 0.95f, 1f),
};
private void RenderCharms()
{
ImGui.TextColored(LegacyDashboardRenderer.ColTeal, "Pet charms");