Suspicion on the Space Station gamemode (#849)

This commit is contained in:
Víctor Aguilera Puerto
2020-05-03 11:25:39 +02:00
committed by GitHub
parent ccbe4bc23f
commit 5d7514674e
15 changed files with 305 additions and 48 deletions

View 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!");
}
}
}