mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* insanity * changeling real pliz * the wizard * no conflict plz :3 * Update Content.Server/Objectives/Systems/ChangelingEscapeDepartmentConditionSystem.cs Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> * linq is hell * Update Content.Server/Objectives/Systems/ChangelingEscapeDepartmentConditionSystem.cs Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> * comment & API * wokism is real and is coming for you in this pride month * i am stoopid and dont know how to code :3 * cleanup, self review, usual stuff * oops * comments and difficulty * fuck everything * add to rolls * FFS * self ontag * filters? you should kill your mom, here's why women never fuck you here's how you could build a bomb. * ncat * Update Content.Shared/Roles/Jobs/SharedJobSystem.cs eqweqwewqe Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com> * address slam,s reviews idfk this will be squashed anyway * from captain sprite (apparently removed on master) to atmosian sprite * Minor cleanup changes --------- Co-authored-by: nomdéraisonnablementlong <you@example.com> Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> Co-authored-by: ScarKy0 <scarky0@onet.eu> Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com> Co-authored-by: SlamBamActionman <slambamactionman@gmail.com>
23 lines
845 B
C#
23 lines
845 B
C#
using Content.Server.Objectives.Systems;
|
|
using Content.Shared.Roles;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Server.Objectives.Components;
|
|
|
|
/// <summary>
|
|
/// Requires that the changeling:
|
|
/// 1. Is on the emergency shuttle when docking to CentComm
|
|
/// 2. Is currently transformed into the identity of someone in the target department
|
|
/// 3. Is wearing an ID card with the matching dept
|
|
/// Depends on <see cref="TargetObjectiveComponent"/> to know which target department to check for.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
[Access(typeof(ChangelingEscapeDepartmentConditionSystem))]
|
|
public sealed partial class ChangelingEscapeDepartmentConditionComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The department that is targeted by the objective.
|
|
/// </summary>
|
|
[DataField]
|
|
public ProtoId<DepartmentPrototype>? Department;
|
|
}
|