Add more DNA interactions (#21989)
* Add more DNA interactions * remove unused import * update based on feedback * Add event for chemistrysystem.injector * move event to shared; transfer dna to implanter * doafter and interaction event fixes * add BreakOnHandChange * doh * use events instead of updating component directly * Add DataFields to ForensicScannerComponent fields * Convert most events to system api call
This commit is contained in:
15
Content.Server/Forensics/Components/ResidueComponent.cs
Normal file
15
Content.Server/Forensics/Components/ResidueComponent.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace Content.Server.Forensics;
|
||||
|
||||
/// <summary>
|
||||
/// This controls residues left on items
|
||||
/// which the forensics system uses.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed partial class ResidueComponent : Component
|
||||
{
|
||||
[DataField]
|
||||
public LocId ResidueAdjective = "residue-unknown";
|
||||
|
||||
[DataField]
|
||||
public string? ResidueColor;
|
||||
}
|
||||
Reference in New Issue
Block a user