-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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 pricegun sound #34101
Add pricegun sound #34101
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.
Is there maybe a better sound than the chime? It feels a little too loud and more like a warning sound to me.
Also your changelog is formatted wrong. Please have a look at the PR guidelines to see how to do it correctly, so that the bot can add it to the in-game changelog. |
Fun idea! I love little things like this 👍 |
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.
Small suggestion that saves us the TryComp
.
You will have to adjust the GetPriceOrBounty
function in SharedPriceGunSystem.cs
accordingly.
Also the new sound file will need to be added to the attributions.yml
file in the same folder.
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 code looks good and the in-game test went well.
Should be good to merge.
Thank you for your for first contribution!
About the PR
Fixes #33473
Adds a sound that plays when the Appraisal Tool successfully appraises an entity.
Why / Balance
Previously, the Appraisal Tool had no sound, this improves feedback of the tool with audio.
Technical details
added SoundPathSpecifier to "Machines/chime.ogg" to PriceGunComponent class
added PlayPredicted to SharedPriceGunSystems class in the OnAfterIntereact method.
Media
appraisal_new_sound.mp4
Requirements
Breaking changes
None
Changelog
🆑
add: Added appraisal tool sound.