Change the syndicate charge to start a timer on signal (#32423)

* Change the syndicate charge to start a timer on signal

* Actually add the component in question

* Add default link for TimerStart signal
This commit is contained in:
Saphire Lattice
2024-10-04 15:34:48 +06:00
committed by GitHub
parent fbb6f17add
commit 94c8018ff3
6 changed files with 46 additions and 8 deletions

View File

@@ -0,0 +1,15 @@
using Content.Shared.DeviceLinking;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server.Explosion.Components
{
/// <summary>
/// Sends a trigger when signal is received.
/// </summary>
[RegisterComponent]
public sealed partial class TimerStartOnSignalComponent : Component
{
[DataField("port", customTypeSerializer: typeof(PrototypeIdSerializer<SinkPortPrototype>))]
public string Port = "Timer";
}
}