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

Turtle shell armor #51

Closed
cdsupina opened this issue Jul 29, 2021 · 2 comments
Closed

Turtle shell armor #51

cdsupina opened this issue Jul 29, 2021 · 2 comments
Assignees
Labels
topic:item Interactive items, e.g. equipment

Comments

@cdsupina
Copy link
Collaborator

cdsupina commented Jul 29, 2021

When picked up by the player provides a set number, of armor against damage from the player's back. I.e the player can take a set out amount of hits from the back without dying.

This would involve giving the player an armor attribute and incrementing it to the amount of armor the turtle shell armor provides. As mentioned by @olefasting, when the player takes damage, the direction parameter of the kill method can be checked to see whether it was taken from behind. If it was taken from behind, decrement the armor value. Otherwise, the player should die as usual.

@cdsupina cdsupina added the topic:item Interactive items, e.g. equipment label Jul 29, 2021
@cdsupina cdsupina self-assigned this Jul 29, 2021
@cdsupina
Copy link
Collaborator Author

#53

@erlend-sh
Copy link
Member

erlend-sh commented Aug 1, 2021

We have some preliminary sounds that could work for this:
https://drive.google.com/drive/folders/1q2hG8a-Zzrzt1DbOjRSqH2lGqGvxOuPj

They're intended for metal armor so it's not spot-on, but TINK #1 sounds like a pretty decent fit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic:item Interactive items, e.g. equipment
Projects
None yet
Development

No branches or pull requests

2 participants