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

Initial Furnishings Implementation #145

Open
DavidRieman opened this issue Dec 30, 2021 · 1 comment
Open

Initial Furnishings Implementation #145

DavidRieman opened this issue Dec 30, 2021 · 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

Per the World Interaction Story there is a description of the concept of "Furnishings". In that example, a room description like "save for some scratches upon one of the walls" indicates something that can be further examined in the room, that isn't a full-blown Thing. It is merely a tool for descriptive immersion.

So, any Thing (such as a "room" Thing) could have a List of Furnishing objects. Those objects could have properties like:

  • A list of keyword(s).
  • The description to be printed when examined.

For this ticket, we should inject a Furnishing into the game world for demonstration of these capabilities. Examine / look commands should be updated to search for Furnishings as targets, and use the Renderer system with a DefaultFurnishingRenderer to print any targeted furnishing's description. Ideally we should be able to target furnishings not just on the player's parent (room) but also the player's inventory and other Things inside our room, etc.

(OLC capabilities are probably out of scope for this ticket.) (Do not confuse Furnishings with Furniture, like building a "couch" by giving a Thing a SittableBehavior and ImmobileBehavior or whatnot.)

@DavidRieman
Copy link
Owner Author

DavidRieman commented Jan 3, 2022

This is partially done. There is a 'furnishings' command to work with editing these. Need to dig in and see what else should get done before closing this ticket though - like getting the feature to use a default Renderer import for customizability.

@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
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