mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 02:41:18 +03:00
* giant protoid cleanup * yml changes * ! --------- Co-authored-by: deltanedas <@deltanedas:goida.zip>
18 lines
576 B
C#
18 lines
576 B
C#
using Content.Server.Objectives.Systems;
|
|
using Content.Shared.Roles;
|
|
using Content.Shared.Roles.Jobs;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
/// <summary>
|
|
/// Requires that the player not have a certain job to have this objective.
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(NotJobRequirementSystem))]
|
|
public sealed partial class NotJobRequirementComponent : Component
|
|
{
|
|
|
|
/// <summary>
|
|
/// List of job prototype IDs to ban from having this objective.
|
|
/// </summary>
|
|
[DataField]
|
|
public List<ProtoId<JobPrototype>> Jobs = new List<ProtoId<JobPrototype>>();
|
|
}
|