CatStation/Content.Shared/Speech/Muting/MutedStatusEffectComponent.cs
Pok b38e363d41
Muted StatusEffects (#43668)
* MutedStatusEffects

* Update species_base.yml

* System

* refactor

* yml fix

* fix component

* review

* fix yml

* Update disabilities.yml

* StatusEffectMuted -> TraitStatusEffectMuted

* Update misc.yml

* merge

* RemoveStatusEffect

* more review

* cleanup

* merge

* oops

* Send it

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Co-authored-by: AJCM-git <ajcm_mail@disroot.org>
2026-07-30 03:52:56 +00:00

22 lines
652 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Speech.Muting;
/// <summary>
/// Marks a status effect that prevents speaking, screaming, and vocal emotes.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class MutedStatusEffectComponent : Component
{
/// <summary>
/// Popup shown when speech is blocked.
/// </summary>
[DataField, AutoNetworkedField]
public LocId SpeakPopup = "speech-muted";
/// <summary>
/// Popup shown when screaming is blocked.
/// </summary>
[DataField, AutoNetworkedField]
public LocId ActionPopup = "speech-muted";
}