Files
tbd-station-14/Content.Server/Forensics/Components/ForensicsComponent.cs
themias 59c8f23857 Cleanup forensic cleaning (#22715)
* Cleanup forensic cleaning

* move cleandelay to new component; buff syndiesoap

* updated based on feedback

* remove tag
2023-12-21 01:54:52 -07:00

32 lines
928 B
C#

namespace Content.Server.Forensics
{
[RegisterComponent]
public sealed partial class ForensicsComponent : Component
{
[DataField("fingerprints")]
public HashSet<string> Fingerprints = new();
[DataField("fibers")]
public HashSet<string> Fibers = new();
[DataField("dnas")]
public HashSet<string> DNAs = new();
[DataField("residues")]
public HashSet<string> Residues = new();
/// <summary>
/// How close you must be to wipe the prints/blood/etc. off of this entity
/// </summary>
[DataField("cleanDistance")]
public float CleanDistance = 1.5f;
/// <summary>
/// Can the DNA be cleaned off of this entity?
/// e.g. you can wipe the DNA off of a knife, but not a cigarette
/// </summary>
[DataField("canDnaBeCleaned")]
public bool CanDnaBeCleaned = true;
}
}