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

Add support for loading items, npcs, and rooms from JSON game data. #44

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

benjaminpotter
Copy link

Extensive documentation will be available pending feedback.

1. define items, npcs, rooms, and exits in a json file
2. call 'load_data(filepath)' to load the specified file
3. adventurelib worries about setting up objects and returns them to you

required updates:
1. better error messages for debugging invalid game data
2. extensive documentation for game data file layout and arguments
3. increased support for wildcard/optional arguments (e.g the unique flag for items)
4. support for custom wildcard/option arguments
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