mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 10:51:14 +03:00
# Conflicts: # Content.Server/Chat/Systems/ChatSystem.cs # Content.Server/VoiceMask/VoiceMaskComponent.cs # Resources/Prototypes/SoundCollections/lobby.yml # Resources/ServerInfo/Guidebook/Science/MachineUpgrading.xml # Resources/Textures/Clothing/Head/Hardsuits/rd.rsi/icon-flash.png # Resources/Textures/Clothing/Head/Hardsuits/rd.rsi/icon.png # Resources/Textures/Clothing/Head/Hardsuits/rd.rsi/meta.json # Resources/Textures/Clothing/Head/Hardsuits/rd.rsi/off-equipped-HELMET.png # Resources/Textures/Clothing/Head/Hardsuits/rd.rsi/off-inhand-left.png # Resources/Textures/Clothing/Head/Hardsuits/rd.rsi/off-inhand-right.png # Resources/Textures/Clothing/Head/Hardsuits/rd.rsi/on-equipped-HELMET.png # Resources/Textures/Clothing/Head/Hardsuits/rd.rsi/on-inhand-left.png # Resources/Textures/Clothing/Head/Hardsuits/rd.rsi/on-inhand-right.png # Resources/Textures/Clothing/OuterClothing/Hardsuits/rd.rsi/equipped-OUTERCLOTHING.png # Resources/Textures/Clothing/OuterClothing/Hardsuits/rd.rsi/icon.png # Resources/Textures/Clothing/OuterClothing/Hardsuits/rd.rsi/meta.json # Resources/Textures/Structures/Walls/solidrust.rsi/full.png # Resources/Textures/Structures/Walls/solidrust.rsi/meta.json # Resources/Textures/Structures/Walls/solidrust.rsi/solidrust0.png # Resources/Textures/Structures/Walls/solidrust.rsi/solidrust1.png # Resources/Textures/Structures/Walls/solidrust.rsi/solidrust2.png # Resources/Textures/Structures/Walls/solidrust.rsi/solidrust3.png # Resources/Textures/Structures/Walls/solidrust.rsi/solidrust4.png # Resources/Textures/Structures/Walls/solidrust.rsi/solidrust5.png # Resources/Textures/Structures/Walls/solidrust.rsi/solidrust6.png # Resources/Textures/Structures/Walls/solidrust.rsi/solidrust7.png
30 lines
827 B
C#
30 lines
827 B
C#
using Content.Shared.Speech;
|
|
using Robust.Shared.Prototypes;
|
|
using Content.Shared.Humanoid;
|
|
|
|
namespace Content.Server.VoiceMask;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class VoiceMaskComponent : Component
|
|
{
|
|
[DataField]
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public bool Enabled = true;
|
|
|
|
[DataField]
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public string VoiceName = "Unknown";
|
|
|
|
// Corvax-TTS-Start
|
|
[DataField]
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public string VoiceId = SharedHumanoidAppearanceSystem.DefaultVoice;
|
|
// Corvax-TTS-End
|
|
|
|
/// <summary>
|
|
/// If EnableSpeechVerbModification is true, overrides the speech verb used when this entity speaks.
|
|
/// </summary>
|
|
[DataField]
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public ProtoId<SpeechVerbPrototype>? SpeechVerb;
|
|
}
|