Skip to content

Commit

Permalink
Add data field for id card microwave behaviour (#28087)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrSmugleaf authored and dvir001 committed Jun 16, 2024
1 parent ea368b5 commit 781b9f1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Content.Shared/Access/Components/IdCardComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ public sealed partial class IdCardComponent : Component
[DataField, ViewVariables(VVAccess.ReadWrite)]
public bool BypassLogging;

[DataField]
public LocId FullNameLocId = "access-id-card-component-owner-full-name-job-title-text";

[DataField]
public bool CanMicrowave = true;

// Frontier
[DataField("soundError")]
Expand All @@ -57,5 +62,4 @@ public sealed partial class IdCardComponent : Component
[DataField("soundInsert")]
public SoundSpecifier InsertSound =
new SoundPathSpecifier("/Audio/Machines/id_insert.ogg");

}

0 comments on commit 781b9f1

Please sign in to comment.