mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
Moves muted to shared (#25374)
* moves muted to shared * fixes usings * Update MutedComponent.cs funny webedit * Update MutedComponent.cs oops using statement webedit (cherry picked from commit 046c874daeb60609d8880fe27617836d37de1a94)
This commit is contained in:
@@ -10,7 +10,8 @@ using Content.Shared.Physics;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Timing;
|
||||
using Content.Shared.Abilities.Psionics; //Nyano - Summary: Makes Mime psionic.
|
||||
using Content.Shared.Abilities.Psionics; //Nyano - Summary: Makes Mime psionic.
|
||||
using Content.Shared.Speech.Muting;
|
||||
|
||||
namespace Content.Server.Abilities.Mime
|
||||
{
|
||||
@@ -57,7 +58,7 @@ namespace Content.Server.Abilities.Mime
|
||||
EnsureComp<MutedComponent>(uid);
|
||||
_alertsSystem.ShowAlert(uid, AlertType.VowOfSilence);
|
||||
_actionsSystem.AddAction(uid, ref component.InvisibleWallActionEntity, component.InvisibleWallAction, uid);
|
||||
//Nyano - Summary: Add Psionic Ability to Mime.
|
||||
//Nyano - Summary: Add Psionic Ability to Mime.
|
||||
if (TryComp<PsionicComponent>(uid, out var psionic) && psionic.PsionicAbility == null)
|
||||
psionic.PsionicAbility = component.InvisibleWallActionEntity;
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@ using Content.Shared.Mobs.Components;
|
||||
using Content.Shared.Mobs.Systems;
|
||||
using Robust.Server.Console;
|
||||
using Robust.Shared.Player;
|
||||
using Content.Shared.Speech.Muting;
|
||||
|
||||
namespace Content.Server.Mobs;
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using Content.Server.Chat.Systems;
|
||||
using Content.Server.Speech.Muting;
|
||||
using Content.Shared.Mobs;
|
||||
using Content.Shared.Speech.Muting;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Server.Mobs;
|
||||
|
||||
@@ -5,6 +5,7 @@ using Content.Shared.Puppet;
|
||||
using Content.Server.Speech.Muting;
|
||||
using Content.Shared.CombatMode;
|
||||
using Content.Shared.Hands;
|
||||
using Content.Shared.Speech.Muting;
|
||||
|
||||
namespace Content.Server.Puppet
|
||||
{
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
namespace Content.Server.Speech.Muting
|
||||
{
|
||||
[RegisterComponent]
|
||||
public sealed partial class MutedComponent : Component
|
||||
{}
|
||||
}
|
||||
@@ -6,6 +6,7 @@ using Content.Server.Speech.EntitySystems;
|
||||
using Content.Shared.Chat.Prototypes;
|
||||
using Content.Shared.Puppet;
|
||||
using Content.Shared.Speech;
|
||||
using Content.Shared.Speech.Muting;
|
||||
|
||||
namespace Content.Server.Speech.Muting
|
||||
{
|
||||
|
||||
10
Content.Shared/Speech/Muting/MutedComponent.cs
Normal file
10
Content.Shared/Speech/Muting/MutedComponent.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Speech.Muting
|
||||
{
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed partial class MutedComponent : Component
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user