mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-19 23:21:05 +03:00
* 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>
22 lines
652 B
C#
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";
|
|
}
|