feat: SK backlog from test through 2026.11.22.48 (Trade Shop, Oracle, quests, loot, nav)
Squash of test/main-merge-2026-10-25 onto aelrynth main 2026.11.19.1 for the standing sk PR. Includes Trade Shop, Oracle wiki/ILT tracker, quest runs, loot checklist, RynthNav, VTank import. HandWrittenVersion remains 0.5.0-legacy-ui. See Changelog/2026-11-22-sk-backlog-test-merge.md.
This commit is contained in:
parent
660e6b5b1c
commit
dc08e1abba
521 changed files with 47247 additions and 795 deletions
|
|
@ -56,13 +56,16 @@ internal static partial class Program
|
|||
Run(nameof(DungeonEntrance), DungeonEntrance);
|
||||
Run(nameof(RouteEndsOnAPortalStep), RouteEndsOnAPortalStep);
|
||||
Run(nameof(RealDungeonEntrances), RealDungeonEntrances);
|
||||
Run(nameof(PeopleInsideDungeons), PeopleInsideDungeons);
|
||||
RunTownNet();
|
||||
RunAvoid();
|
||||
RunTravelPlan();
|
||||
RunCustomPortals();
|
||||
RunTripExport();
|
||||
RunAutoRunGate();
|
||||
RunRouteMaker();
|
||||
RunSteering();
|
||||
RunWallStuck();
|
||||
|
||||
Console.WriteLine();
|
||||
Console.WriteLine(_fails == 0 && _asserts > 0
|
||||
|
|
@ -681,6 +684,29 @@ internal static partial class Program
|
|||
}
|
||||
|
||||
// The real location database: dungeons sit at their entrance portal (outside), not inside.
|
||||
/// <summary>2026-11-11: quest people inside dungeons and the Bur: found by name, with the portal or recall in.</summary>
|
||||
private static void PeopleInsideDungeons()
|
||||
{
|
||||
string locs = Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, "..", "..", "..", "..", "..", "..",
|
||||
"RynthCore", "tools", "navdata", "NavData", "locations.json"));
|
||||
if (!File.Exists(locs)) { Console.WriteLine(" (no generated NavData beside this repo: skipped)"); return; }
|
||||
Atlas atlas = Atlas.Load(locs);
|
||||
AtlasLocation? drogur = atlas.FindInside("Drogur");
|
||||
Check(drogur != null && drogur.Cell == "009C0270", $"Drogur is in the Bur ({drogur?.Cell})");
|
||||
AtlasLocation? torg = atlas.FindInside("Torgluuk");
|
||||
Check(torg != null && torg.Name.StartsWith("Torgluuk, High Shaman", StringComparison.Ordinal), $"a first name finds the whole one ({torg?.Name})");
|
||||
Check(atlas.FindInside("Dro") == null || atlas.FindInside("Dro")!.Name.StartsWith("Dro ", StringComparison.OrdinalIgnoreCase), "part of a word is no match");
|
||||
Check(atlas.FindInside("Kor-Gursha") == null, "a portal is never a place inside");
|
||||
Check(atlas.FindInside("Garaena the Emissary") == null, "someone on the map isn't inside");
|
||||
bool burRecall = false;
|
||||
foreach (AtlasRecall r in atlas.Recalls) if (r.Name == "Bur Recall" && !r.OnMap && r.Cell >> 16 == 0x009C) burRecall = true;
|
||||
Check(burRecall, "Bur Recall lands in the Bur's landblock");
|
||||
Check(Entrance.PortalInto(atlas, 0x009C, false, 0, 0) == null, "no portal on the map goes into the Bur (the recall does)");
|
||||
AtlasLocation? cath = Entrance.PortalInto(atlas, 0x02F8, false, 0, 0);
|
||||
Check(cath != null && cath.OnMap && cath.Name == "Burun Cathedral", $"Burun Cathedral's portal leads into 02F8 ({cath?.Name})");
|
||||
Check(Atlas.TryCell("009C0270", out uint c) && c == 0x009C0270u && !Atlas.TryCell("009C", out _), "cells parse");
|
||||
}
|
||||
|
||||
private static void RealDungeonEntrances()
|
||||
{
|
||||
string locs = Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, "..", "..", "..", "..", "..", "..",
|
||||
|
|
|
|||
Loading…
Reference in a new issue