mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 00:27:59 +00:00
* Add dataset for Secdog names * Split secdog into a base + other dogs so laika keeps her name * Add new system for enabling subdermal ID cards * Check for subdermal ID cards for access and sensor information * Add MindOnlyAccess marker component * Add new generic K9 officer role for secdogs * Add Laika/K9 officers to security * Update Laika's role to match K9 officer * Add subdermal implants and mind only access for K9 officers * Set MobSecDogBase to abstract * Set K9Officer card to sec colours * Update comments for Subdermal IDCard * Move mind check for access above log for access * Re-use ImplanterComponent's slot name * Move idcard container const into component as well * Add missing setPreference and requirements to k9 officer * Ensure admin tricks work on subdermal ID cards * Remove subdermal ID cards from showing in nanochat * Move secdogs.yml to _DV namespace * Fix typo * Unduplicate container id name
25 lines
737 B
C#
25 lines
737 B
C#
using Content.Shared._DV.Access.Systems;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared._DV.Access.Components;
|
|
|
|
/// <summary>
|
|
/// A subdermal id card implant (entities with this component should also have <see cref="SubdermalImplantComponent"/>).
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
[Access(typeof(SharedSubdermalIdCardSystem))]
|
|
public sealed partial class SubdermalIdCardComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The IDCard to spawn into the implant's id card container.
|
|
/// </summary>
|
|
[DataField(required: true)]
|
|
public EntProtoId IdCardProto;
|
|
|
|
/// <summary>
|
|
/// Whether to update the full name of the IDCard when injected.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool UpdateName = true;
|
|
};
|