16 lines
522 B
C#
16 lines
522 B
C#
using Content.Server.Objectives.Systems;
|
|
using Content.Shared.Humanoid.Prototypes;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Server.Objectives.Components;
|
|
|
|
/// <summary>
|
|
/// Requires that the player's species matches a whitelist.
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(SpeciesRequirementSystem))]
|
|
public sealed partial class SpeciesRequirementComponent : Component
|
|
{
|
|
[DataField(required: true), ViewVariables(VVAccess.ReadWrite)]
|
|
public List<ProtoId<SpeciesPrototype>> AllowedSpecies = new();
|
|
}
|