-
Notifications
You must be signed in to change notification settings - Fork 608
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 alt verb to toggle accents from clothing #2648
Add alt verb to toggle accents from clothing #2648
Conversation
Co-authored-by: Dvir <[email protected]>
Co-authored-by: Dvir <[email protected]>
Good catch, applied changes |
@Alkheemist Can you also add this to AddAccentPickupComponent? Right now its just the caveman club |
…kup system to trigger correctly
OK, I've fixed it by adding in a new event (old one used for accentpickup was firing when the check for eligibility to pick up was made, not when the item was actually being picked up) and implementing the toggle for the club. |
anyone have any idea what's up with the 1 failing test? |
|
I fixed the thing that was causing the failing test, ready for another review @dvir001 |
Not a fan of this, in all honesty. |
To be honest other forks just removed the accents fully from cloth then leaving the toggle (DeltaV, EE) |
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.
A few suggestions.
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.
Works fine, did a little cleanup:
"GettingPickedUpEvent" changed to "PickedUpEvent" - the item is already picked up. I think the hand can be found through the ContainerSystem.
Made the NF changes use the EntityManager proxy without the EntityManager reference for brevity, and removed "HasComp->RemComp", that check's already done by the function. The Add path I kept, since it's an early return.
Again, works without issue, good stuff.
About the PR
Added an alt verb to AddAccentClothingSystem that will allow you to toggle the active accent given by a piece of clothing. To do so, you must be wearing the clothing. This isn't stored, so unequipping and re-equipping will reapply the accent, but you can just toggle it off again afterwards.
Why / Balance
By popular request.
How to test
Put on accent clothing (cat ears are the most
cringebased)Say something
Alt click or right click and toggle the accent
Say something else
Media
Requirements
Breaking changes
None identified.
Changelog
🆑