Speech and Emoting components (#3075)

* Add Speech and Emoting components.

* makesentient gives you speech and emoting abilities.

* Ghosts do *not* need a SpeechComponent.

* I hate you all, and I hate shared code as well.
This commit is contained in:
Vera Aguilera Puerto
2021-02-05 17:01:54 +01:00
committed by GitHub
parent b62cc84e8c
commit 63e1252539
7 changed files with 92 additions and 2 deletions

View File

@@ -1,8 +1,10 @@
#nullable enable
using Content.Server.Administration;
using Content.Server.GameObjects.Components.Mobs;
using Content.Server.GameObjects.Components.Mobs.Speech;
using Content.Server.GameObjects.Components.Movement;
using Content.Shared.Administration;
using Content.Shared.GameObjects.Components.Mobs.Speech;
using Robust.Server.Interfaces.Player;
using Robust.Shared.Console;
using Robust.Shared.GameObjects;
@@ -47,6 +49,8 @@ namespace Content.Server.Commands
entity.EnsureComponent<MindComponent>();
entity.EnsureComponent<PlayerInputMoverComponent>();
entity.EnsureComponent<SharedSpeechComponent>();
entity.EnsureComponent<SharedEmotingComponent>();
}
}
}