Deathrattle implant for uplink and slight tracking implant tweak (#17722)

This commit is contained in:
Arendian
2023-07-16 04:59:46 +02:00
committed by GitHub
parent 1096ecc4b2
commit 84bd21b4a7
11 changed files with 147 additions and 7 deletions

View 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";
}