Deathrattle implant for uplink and slight tracking implant tweak (#17722)
This commit is contained in:
20
Content.Shared/Implants/Components/RattleComponent.cs
Normal file
20
Content.Shared/Implants/Components/RattleComponent.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Content.Shared.Radio;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
namespace Content.Shared.Implants.Components;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class RattleComponent : Component
|
||||
{
|
||||
// The radio channel the message will be sent to
|
||||
[DataField("radioChannel", customTypeSerializer: typeof(PrototypeIdSerializer<RadioChannelPrototype>))]
|
||||
public string RadioChannel = "Syndicate";
|
||||
|
||||
// The message that the implant will send when crit
|
||||
[DataField("critMessage")]
|
||||
public string CritMessage = "deathrattle-implant-critical-message";
|
||||
|
||||
// The message that the implant will send when dead
|
||||
[DataField("deathMessage")]
|
||||
public string DeathMessage = "deathrattle-implant-dead-message";
|
||||
}
|
||||
Reference in New Issue
Block a user