Genpop Closets & IDs (#36392)
* Genpop IDs and Lockers * placeholder generation, no ui yet. * UI * Fix time offset * fix meta.jsons * big speller * Scarkyo review * Add turnstile prototypes * make IDs recyclable --------- Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com> Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com>
This commit is contained in:
22
Content.Shared/Security/Components/GenpopIdCardComponent.cs
Normal file
22
Content.Shared/Security/Components/GenpopIdCardComponent.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Security.Components;
|
||||
|
||||
/// <summary>
|
||||
/// This is used for storing information about a Genpop ID in order to correctly display it on examine.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState, AutoGenerateComponentPause]
|
||||
public sealed partial class GenpopIdCardComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The crime committed, as a string.
|
||||
/// </summary>
|
||||
[DataField, AutoNetworkedField]
|
||||
public string Crime = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The length of the sentence
|
||||
/// </summary>
|
||||
[DataField, AutoNetworkedField, AutoPausedField]
|
||||
public TimeSpan SentenceDuration;
|
||||
}
|
||||
Reference in New Issue
Block a user