Antag Datums. Oh also minds. (#100)
AKA: Minds and there's a stupid basic roles framework.
This commit is contained in:
committed by
Acruid
parent
e8c4dc9a34
commit
cd4442b81e
24
Content.Server/Mobs/Roles/Traitor.cs
Normal file
24
Content.Server/Mobs/Roles/Traitor.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using SS14.Server.Interfaces.Chat;
|
||||
using SS14.Shared.Console;
|
||||
using SS14.Shared.IoC;
|
||||
|
||||
namespace Content.Server.Mobs.Roles
|
||||
{
|
||||
public sealed class Traitor : Role
|
||||
{
|
||||
public Traitor(Mind mind) : base(mind)
|
||||
{
|
||||
}
|
||||
|
||||
public override string Name => "Traitor";
|
||||
|
||||
public override void Greet()
|
||||
{
|
||||
base.Greet();
|
||||
|
||||
var chat = IoCManager.Resolve<IChatManager>();
|
||||
chat.DispatchMessage(Mind.Session.ConnectedClient, ChatChannel.Server,
|
||||
"You're a traitor. Go fuck something up. Or something. I don't care to be honest.");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user