-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Implement Goat horns #5232
Implement Goat horns #5232
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR looks mostly fine, but I'm dubious about the way the sounds are handled.
I feel like the sounds could be done with much less code by having a single GoatHornSound
class which accepts GoatHornType
and match()
es the sound ID.
Is there some advantage to having a class per sound that I'm not seeing?
- Usage of new native enums instead of EnumTrait - Usage of new IntSaveIdMapTrait - Remove unnecesary GoatHorn*Sound classes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR looks fine
cooldown is missing :0 |
This looks OK, although the cooldown is indeed missing. That should be easily addressed with the merge of #6405. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this is ready to go
Introduction
Implement Goat horns and its sounds
Follow-up
Tests
Goat.horns.test.mp4