2023-07-16 04:59:46 +02:00
|
|
|
using Content.Shared.Radio;
|
2023-08-05 17:06:40 -04:00
|
|
|
using Robust.Shared.GameStates;
|
2023-10-10 20:06:24 -07:00
|
|
|
using Robust.Shared.Prototypes;
|
2023-07-16 04:59:46 +02:00
|
|
|
|
|
|
|
|
namespace Content.Shared.Implants.Components;
|
|
|
|
|
|
2023-08-05 17:06:40 -04:00
|
|
|
[RegisterComponent, NetworkedComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class RattleComponent : Component
|
2023-07-16 04:59:46 +02:00
|
|
|
{
|
|
|
|
|
// The radio channel the message will be sent to
|
2023-10-10 20:06:24 -07:00
|
|
|
[DataField]
|
|
|
|
|
public ProtoId<RadioChannelPrototype> RadioChannel = "Syndicate";
|
2023-07-16 04:59:46 +02:00
|
|
|
|
|
|
|
|
// The message that the implant will send when crit
|
2023-10-10 20:06:24 -07:00
|
|
|
[DataField]
|
|
|
|
|
public LocId CritMessage = "deathrattle-implant-critical-message";
|
2023-07-16 04:59:46 +02:00
|
|
|
|
|
|
|
|
// The message that the implant will send when dead
|
|
|
|
|
[DataField("deathMessage")]
|
2023-10-10 20:06:24 -07:00
|
|
|
public LocId DeathMessage = "deathrattle-implant-dead-message";
|
2023-07-16 04:59:46 +02:00
|
|
|
}
|