Skip to content

Add atlas: questions about a set of area files - #22

Merged
ctoth merged 4 commits into
masterfrom
feat/area-set-queries
Oct 6, 2026
Merged

ctoth merged 4 commits into
masterfrom
feat/area-set-queries

Conversation

@ctoth

@ctoth ctoth commented Oct 6, 2026

Copy link
Copy Markdown
Owner

area-reader atlas <question> <files or directories> loads several area files into one set and answers, as text or --json:

  • summary: per-area counts and overlapping vnum ranges.
  • reach --from VNUM: rooms reachable by exits, rooms that can walk back, areas nothing leads into; --with-portals and --with-progs add non-walking links and show the difference.
  • links: the area graph and one-way links.
  • dangling: references to vnums no file defines (exits, keys, resets, shop keepers, specials, mob programs, portals, rooms named in programs).
  • depends: which other areas each area needs, and why.
  • path A B, find TEXT.

cli.load_area and the single-file JSON output are unchanged. atlas as the first argument now selects the subcommand.

On the stock ROM set in test/rom from room 3001: 3126 rooms, 3082 reachable, 2901 can walk back; quifael is the only area nothing leads into.

Limits: expects the ROM/Merc model shape and was run only on ROM files; program links follow transfer/gtransfer only.

@ctoth
ctoth merged commit cac0b3f into master Oct 6, 2026
4 checks passed
@ctoth
ctoth deleted the feat/area-set-queries branch October 6, 2026 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant