Suspicion on the Space Station gamemode (#849)
This commit is contained in:
committed by
GitHub
parent
ccbe4bc23f
commit
5d7514674e
25
Content.Server/Mobs/Roles/SuspicionInnocentRole.cs
Normal file
25
Content.Server/Mobs/Roles/SuspicionInnocentRole.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using Content.Server.GameObjects;
|
||||
using Content.Server.Interfaces.Chat;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Utility;
|
||||
|
||||
namespace Content.Server.Mobs.Roles
|
||||
{
|
||||
public class SuspicionInnocentRole : Role
|
||||
{
|
||||
public SuspicionInnocentRole(Mind mind) : base(mind)
|
||||
{
|
||||
}
|
||||
|
||||
public override string Name => "Innocent";
|
||||
public override bool Antag => false;
|
||||
|
||||
public override void Greet()
|
||||
{
|
||||
base.Greet();
|
||||
|
||||
var chat = IoCManager.Resolve<IChatManager>();
|
||||
chat.DispatchServerMessage(Mind.Session, "You're an innocent!");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user