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

Refactor engine output statements to be multi-line strings #9

Open
mimiflynn opened this issue Jul 18, 2018 · 0 comments
Open

Refactor engine output statements to be multi-line strings #9

mimiflynn opened this issue Jul 18, 2018 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@mimiflynn
Copy link
Owner

Anywhere that looks a little like:

self.output(' ')
 self.output('You have added [' + action['item'] + '] to your inventory!')
self.output(str(self.inventory))

could be changed (refactored) into a multiline string that could be configurable by the game creator.

@mimiflynn mimiflynn added enhancement New feature or request good first issue Good for newcomers labels Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant