16 lines
539 B
C#
16 lines
539 B
C#
using Content.Server.Objectives.Systems;
|
|
using Content.Shared.Whitelist;
|
|
|
|
namespace Content.Server.Objectives.Components;
|
|
|
|
/// <summary>
|
|
/// Requires that the objective entity has no blacklisted components.
|
|
/// Lets you check for incompatible objectives.
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(ObjectiveBlacklistRequirementSystem))]
|
|
public sealed partial class ObjectiveBlacklistRequirementComponent : Component
|
|
{
|
|
[DataField(required: true), ViewVariables(VVAccess.ReadWrite)]
|
|
public EntityWhitelist Blacklist = new();
|
|
}
|