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:
parent
23efcfee87
commit
7797901d69
287 changed files with 22602 additions and 1090 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using RynthCore.Plugin.RynthOracle.Data;
|
||||
using RynthCore.Plugin.RynthOracle.Ui;
|
||||
|
||||
namespace RynthCore.Plugin.RynthOracle.Views;
|
||||
|
|
@ -12,8 +13,12 @@ internal sealed partial class OracleView
|
|||
public const string TabQuests = "Quests", TabCharacter = "Character",
|
||||
TabSkills = "Skills", TabAttributes = "Attributes", TabProgress = "Progress",
|
||||
TabAugs = "Augs", TabSociety = "Society",
|
||||
TabMarkers = "Markers", TabTitles = "Titles", TabVoid = "Void", TabFellowship = "Fellowship",
|
||||
TabBoards = "Leaderboards", TabConquest = "Conquest", TabBreeding = "Pet Breeding", TabAbout = "About";
|
||||
TabTitles = "Titles", TabVoid = "Void", TabFellowship = "Fellowship",
|
||||
TabBoards = "Leaderboards", TabConquest = "Conquest", TabBreeding = "Pet Breeding",
|
||||
TabAbout = "About";
|
||||
// The Markers, Legendary and Dynamic Stamps tabs (and RynthILT's Temple guardians) are rows of
|
||||
// the Quests tab since 2026-10-18 (QuestsTab.cs, ShowTrackers); a saved tab name of theirs falls
|
||||
// back to Quests.
|
||||
|
||||
/// <summary>A tab: shown where any of its server tags matches the server; no tags = everywhere (retail).</summary>
|
||||
private sealed record TabDef(string Name, string[] Servers, Action<UiWindow> Draw, bool LiveTimers);
|
||||
|
|
@ -41,7 +46,6 @@ internal sealed partial class OracleView
|
|||
new(TabProgress, any, DrawProgressEmbed, true),
|
||||
new(TabAugs, any, DrawAugs, true),
|
||||
new(TabSociety, any, DrawSociety, true),
|
||||
new(TabMarkers, any, DrawMarkers, false),
|
||||
new(TabTitles, any, DrawTitles, false),
|
||||
new(TabVoid, any, DrawVoid, true),
|
||||
new(TabFellowship, any, DrawFellowship, false),
|
||||
|
|
@ -164,6 +168,28 @@ internal sealed partial class OracleView
|
|||
if (url.Length > 0) _c.Print(url);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The quest trackers' refresh row (Society, Augs, Conquest):
|
||||
/// a small Refresh (the same /myquests read as the Quests tab's) and how fresh the flags are,
|
||||
/// or why they can't be read. <paramref name="what"/> names what the flags show ("stamps").
|
||||
/// </summary>
|
||||
private void QuestFlagsBar(UiWindow w, string id, string what)
|
||||
{
|
||||
QuestFlagStore flags = _c.Flags;
|
||||
w.SmallButton("Refresh", id + ".refresh", _c.RequestQuests);
|
||||
w.Tooltip("Reads your quest flags again (/myquests), as the Quests tab's Refresh does.");
|
||||
w.SameLine();
|
||||
int wait = flags.ThrottleSecondsLeft(_c.NowMs);
|
||||
if (flags.ServerDisabled)
|
||||
w.TextColored(UiColors.Red, "This server has /myquests turned off, so " + what + " can't be read.");
|
||||
else if (flags.Loading)
|
||||
w.TextColored(UiColors.Yellow, "Reading your quest flags...");
|
||||
else if (flags.LastReadUtc == DateTime.MinValue)
|
||||
w.TextDisabled("Quest flags not read yet: Refresh to see your " + what + ".");
|
||||
else
|
||||
w.TextDisabled($"Flags read at {flags.LastReadUtc.ToLocalTime():HH:mm}" + (wait > 0 ? $" (Refresh again in {wait}s)" : ""));
|
||||
}
|
||||
|
||||
/// <summary>Previous / page n of m / next, with the page kept in range.</summary>
|
||||
private static int Pager(UiWindow w, string id, int page, int count, int pageSize, Action<int> setPage)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue