Commit Graph

2 Commits

Author SHA1 Message Date
Milon 2b27830b5e use manual component state for BaseEmitSoundComponent (#35030)
* why

* cursed
2025-04-06 20:51:06 +01:00
blueDev2 021931580f
Add new component to Make sound on interact (#26523)
* Adds new Component: EmitSoundOnInteractUsing

* Missed an import

* File-scoping

* Replace ID check with Prototype check

* Moved component and system to shared. Set prediction to true.

* Removed impoper imports and changed namespace of component to reflect changed folder.

* Following function naming theme

* All this code is basically deltanedas's, but it was a learning experience for me

* Update Content.Shared/Sound/Components/EmitSoundOnInteractUsingComponent.cs

* Update Content.Shared/Sound/Components/EmitSoundOnInteractUsingComponent.cs

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
(cherry picked from commit daaa7c6de0d21c5b8d9c0b659eb62878a0410d3d)
2024-04-07 14:16:42 +02:00