* DNA component * Commit numba 2 * Added DNA into Station Records Computer * commit numba 3 * commit numba 4 * Vomit also contain DNA component now * fixed DNA field not clearing after scanning another item * commit numba 10 Drinking leaves DNA on an object. Breaking glasses, bottles and beakers leave DNA and leave fingerprints/fibers with 40% chance on glass shards. + lotta fixes * 11 * 12 * 14 * Added DNA guide entry * FIX
72 lines
1.8 KiB
C#
72 lines
1.8 KiB
C#
using Robust.Shared.Enums;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.StationRecords;
|
|
|
|
/// <summary>
|
|
/// General station record. Indicates the crewmember's name and job.
|
|
/// </summary>
|
|
[Serializable, NetSerializable]
|
|
public sealed class GeneralStationRecord
|
|
{
|
|
/// <summary>
|
|
/// Name tied to this station record.
|
|
/// </summary>
|
|
[ViewVariables]
|
|
public string Name = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Age of the person that this station record represents.
|
|
/// </summary>
|
|
[ViewVariables]
|
|
public int Age;
|
|
|
|
/// <summary>
|
|
/// Job title tied to this station record.
|
|
/// </summary>
|
|
[ViewVariables]
|
|
public string JobTitle = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Job icon tied to this station record.
|
|
/// </summary>
|
|
[ViewVariables]
|
|
public string JobIcon = string.Empty;
|
|
|
|
[ViewVariables]
|
|
public string JobPrototype = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Species tied to this station record.
|
|
/// </summary>
|
|
[ViewVariables]
|
|
public string Species = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Gender identity tied to this station record.
|
|
/// </summary>
|
|
/// <remarks>Sex should be placed in a medical record, not a general record.</remarks>
|
|
[ViewVariables]
|
|
public Gender Gender = Gender.Epicene;
|
|
|
|
/// <summary>
|
|
/// The priority to display this record at.
|
|
/// This is taken from the 'weight' of a job prototype,
|
|
/// usually.
|
|
/// </summary>
|
|
[ViewVariables]
|
|
public int DisplayPriority;
|
|
|
|
/// <summary>
|
|
/// Fingerprint of the person.
|
|
/// </summary>
|
|
[ViewVariables]
|
|
public string? Fingerprint;
|
|
|
|
/// <summary>
|
|
/// DNA of the person.
|
|
/// </summary>
|
|
[ViewVariables]
|
|
public string? DNA;
|
|
}
|