RynthSuite as of 2026-11-29 (internal 46bae49): release 2026.11.28.1

This commit is contained in:
Tom Bohar 2026-11-29 00:38:53 -05:00
commit 598f49c899
131 changed files with 11825 additions and 329 deletions

View file

@ -31,6 +31,15 @@ internal sealed class OracleSettings
public bool AlertTimers = true;
/// <summary>false: only tracked quests are watched; true: every quest the character holds.</summary>
public bool AlertAllTimers;
/// <summary>
/// Read the AC Community Wiki's quest pages for the Guide tab (CommunityWikiFeed). OFF by default: nothing is
/// fetched until the player turns it on, and the About and Guide tabs say what it reads and from where first.
/// </summary>
public bool WikiFeedOn;
/// <summary>With the feed on: read it again at login when the saved copy is a day old.</summary>
public bool WikiFeedDaily = true;
/// <summary>The Guide tab's "Hide done" (quests with nothing to do now).</summary>
public bool GuideHideDone;
/// <summary>Where the tests keep the settings file (a scratch path); null means the rynthoracle.json in RynthCore's %APPDATA% folder.</summary>
internal static string? PathOverride;
@ -42,7 +51,7 @@ internal sealed class OracleSettings
private static readonly string[] KnownNames =
{
"readQuestsAtLogin", "hideOwnQuestReplies", "checkQuestListDaily", "lastQuestListCheck", "autoShowVoidWindow",
"mainWindowOpen", "questTimersOpen", "alertTimers", "alertAllTimers", "tabName",
"mainWindowOpen", "questTimersOpen", "alertTimers", "alertAllTimers", "tabName", "wikiFeedOn", "wikiFeedDaily", "guideHideDone",
};
// "conquestAutoDeposit" moved to RynthConquest (2026-10-20), which takes it over from this file once;
// it is kept here (as any value this version doesn't use) until then.
@ -72,6 +81,9 @@ internal sealed class OracleSettings
QuestTimersOpen = Bool(r, "questTimersOpen", QuestTimersOpen);
AlertTimers = Bool(r, "alertTimers", AlertTimers);
AlertAllTimers = Bool(r, "alertAllTimers", AlertAllTimers);
WikiFeedOn = Bool(r, "wikiFeedOn", WikiFeedOn);
WikiFeedDaily = Bool(r, "wikiFeedDaily", WikiFeedDaily);
GuideHideDone = Bool(r, "guideHideDone", GuideHideDone);
if (r.TryGetProperty("tabName", out JsonElement t) && t.ValueKind == JsonValueKind.String) TabName = t.GetString() ?? TabName;
if (r.TryGetProperty("lastQuestListCheck", out JsonElement c) && c.ValueKind == JsonValueKind.String
&& DateTime.TryParse(c.GetString(), CultureInfo.InvariantCulture, DateTimeStyles.RoundtripKind, out DateTime when))
@ -98,6 +110,9 @@ internal sealed class OracleSettings
sb.Append(" \"questTimersOpen\": ").Append(QuestTimersOpen ? "true" : "false").Append(",\n");
sb.Append(" \"alertTimers\": ").Append(AlertTimers ? "true" : "false").Append(",\n");
sb.Append(" \"alertAllTimers\": ").Append(AlertAllTimers ? "true" : "false").Append(",\n");
sb.Append(" \"wikiFeedOn\": ").Append(WikiFeedOn ? "true" : "false").Append(",\n");
sb.Append(" \"wikiFeedDaily\": ").Append(WikiFeedDaily ? "true" : "false").Append(",\n");
sb.Append(" \"guideHideDone\": ").Append(GuideHideDone ? "true" : "false").Append(",\n");
sb.Append(" \"tabName\": \"").Append(JsonEncodedText.Encode(TabName).ToString()).Append('"');
foreach ((string name, string raw) in _kept)
sb.Append(",\n \"").Append(JsonEncodedText.Encode(name).ToString()).Append("\": ").Append(raw);