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

Create 'Find' Command #157

Open
DavidRieman opened this issue Jan 3, 2022 · 1 comment
Open

Create 'Find' Command #157

DavidRieman opened this issue Jan 3, 2022 · 1 comment
Labels
enhancement This task is adding new behavior or performing other refactoring improvements. good first issue This task is likely to be suitable for newcomers to the WheelMUD repo as one of their first tasks.

Comments

@DavidRieman
Copy link
Owner

Need to create a "Find" command, which uses ThingManager.Instance to try to find the target, first by ID, then by name substring search.

E.G. "find things/void" would find and print basic info (Name?) for the room whose ID is things/void.
E.G. "find Square" would find all registered Things who have "Square" in the name (such as "City Square").

It can use the minorBuilder permissions for now. (Later when OLC is further along, a minor builder should only be able to find things in unpublished areas they have permissions to edit.)

Then consider tracking a story for later refinements (like finding classes of things, like those with specifically-typed Behaviors and matching said keyword - so the user can restrict the search to things that work like Rooms, things that works like Exits, things that work like Mobiles, and so on).

@DavidRieman DavidRieman added enhancement This task is adding new behavior or performing other refactoring improvements. good first issue This task is likely to be suitable for newcomers to the WheelMUD repo as one of their first tasks. labels Jan 3, 2022
@DavidRieman
Copy link
Owner Author

Part of this is done: We can find square for example. Need to consider whether find rooms/ and such makes sense; probably not? But finding via description and keywords may be helpful too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This task is adding new behavior or performing other refactoring improvements. good first issue This task is likely to be suitable for newcomers to the WheelMUD repo as one of their first tasks.
Projects
None yet
Development

No branches or pull requests

1 participant