Cleanup forensic cleaning (#22715)
* Cleanup forensic cleaning * move cleandelay to new component; buff syndiesoap * updated based on feedback * remove tag
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
namespace Content.Server.Forensics;
|
||||
|
||||
/// <summary>
|
||||
/// This component is for items that can clean up forensic evidence
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed partial class CleansForensicsComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// How long it takes to wipe prints/blood/etc. off of things using this entity
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public float CleanDelay = 12.0f;
|
||||
}
|
||||
@@ -15,12 +15,6 @@ namespace Content.Server.Forensics
|
||||
[DataField("residues")]
|
||||
public HashSet<string> Residues = new();
|
||||
|
||||
/// <summary>
|
||||
/// How long it takes to wipe the prints/blood/etc. off of this entity
|
||||
/// </summary>
|
||||
[DataField("cleanDelay")]
|
||||
public float CleanDelay = 12.0f;
|
||||
|
||||
/// <summary>
|
||||
/// How close you must be to wipe the prints/blood/etc. off of this entity
|
||||
/// </summary>
|
||||
@@ -29,7 +23,7 @@ namespace Content.Server.Forensics
|
||||
|
||||
/// <summary>
|
||||
/// Can the DNA be cleaned off of this entity?
|
||||
/// e.g. you can clean the DNA off of a knife, but not a puddle
|
||||
/// e.g. you can wipe the DNA off of a knife, but not a cigarette
|
||||
/// </summary>
|
||||
[DataField("canDnaBeCleaned")]
|
||||
public bool CanDnaBeCleaned = true;
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace Content.Server.Forensics.Components;
|
||||
|
||||
/// <summary>
|
||||
/// This component is for entities we do not wish to track fingerprints/fibers, like puddles
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed partial class IgnoresFingerprintsComponent : Component { }
|
||||
Reference in New Issue
Block a user