From 92289db4fc6e042f58c02a8cf6047521c0bbcc1e Mon Sep 17 00:00:00 2001 From: Saphire Date: Tue, 24 Sep 2024 05:49:22 +0600 Subject: [PATCH] Actually add the component in question --- .../Components/TimerStartOnSignalComponent.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Content.Server/Explosion/Components/TimerStartOnSignalComponent.cs diff --git a/Content.Server/Explosion/Components/TimerStartOnSignalComponent.cs b/Content.Server/Explosion/Components/TimerStartOnSignalComponent.cs new file mode 100644 index 00000000000000..9adc6dab871c46 --- /dev/null +++ b/Content.Server/Explosion/Components/TimerStartOnSignalComponent.cs @@ -0,0 +1,15 @@ +using Content.Shared.DeviceLinking; +using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; + +namespace Content.Server.Explosion.Components +{ + /// + /// Sends a trigger when signal is received. + /// + [RegisterComponent] + public sealed partial class TimerStartOnSignalComponent : Component + { + [DataField("port", customTypeSerializer: typeof(PrototypeIdSerializer))] + public string Port = "Timer"; + } +}