21 lines
553 B
C#
21 lines
553 B
C#
using Content.Server.Mobs;
|
|
using Content.Server.Mobs.Roles.Traitor;
|
|
using Content.Server.Objectives.Interfaces;
|
|
using JetBrains.Annotations;
|
|
using Robust.Shared.Interfaces.Serialization;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Server.Objectives.Requirements
|
|
{
|
|
[UsedImplicitly]
|
|
public class TraitorRequirement : IObjectiveRequirement
|
|
{
|
|
void IExposeData.ExposeData(ObjectSerializer serializer){}
|
|
|
|
public bool CanBeAssigned(Mind mind)
|
|
{
|
|
return mind.HasRole<TraitorRole>();
|
|
}
|
|
}
|
|
}
|