Repository navigation
Add atlas: questions about a set of area files - #22
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-portalsand--with-progsadd 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_areaand the single-file JSON output are unchanged.atlasas the first argument now selects the subcommand.On the stock ROM set in
test/romfrom room 3001: 3126 rooms, 3082 reachable, 2901 can walk back;quifaelis the only area nothing leads into.Limits: expects the ROM/Merc model shape and was run only on ROM files; program links follow
transfer/gtransferonly.