Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/atom/proc/examine() rework. #4836

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

MistakeNot4892
Copy link
Contributor

@MistakeNot4892 MistakeNot4892 commented Feb 3, 2025

TODO

  • Split up examine()
  • Convert all examine() uses to new procs.
  • Remove examine() stub.

Description of changes

  • examine() is now examined_by().
  • examined_by() assembles string lists via three procs, in order:
    • get_examine_header()
    • get_examine_strings()
    • get_examine_hints()

Why and what will this PR improve

Allows control over ordering of examination output.
Nicer, more readable code.
Probably more performant given the removed string ops.

Authorship

Myself.

Changelog

Nothing player-facing.

@MistakeNot4892 MistakeNot4892 added the work in progress This PR is under development and shouldn't be merged. label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
work in progress This PR is under development and shouldn't be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant