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

Armour #13

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Armour #13

wants to merge 14 commits into from

Conversation

dodonator
Copy link
Member

Implements an Armour class for things like clothing, hats etc. The Player has certain armour slots which can only hold one armour item at the same time. Armour items can be equiped just like weapons. The defense values of each armour piece is summed up in the Player.defense property.

@dodonator dodonator added the enhancement New feature or request label Oct 27, 2024
Copy link
Member

@YtvwlD YtvwlD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems cool!

Shouldn't the slots go to the character though?
You could probably also merge the two fixup commits to the one before, but that's not too important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants