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 Class checking to items #27

Open
wsowens opened this issue Feb 23, 2019 · 1 comment
Open

Add Class checking to items #27

wsowens opened this issue Feb 23, 2019 · 1 comment

Comments

@wsowens
Copy link
Member

wsowens commented Feb 23, 2019

Players should be restricted from using certain items based on their class. For instance, a warrior should not be able to equip a mage's staff, or use a magic scroll. As such, we should add a whitelist and blacklist field to each item. Please refer to the system used for exits as an example.

@wsowens
Copy link
Member Author

wsowens commented Mar 1, 2019

#32
We have a class that now makes this easier.

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

No branches or pull requests

1 participant