Files
tbd-station-14/Content.Shared/Implants/Components/RattleComponent.cs
UpAndLeaves d083842f1f Centcomm death rattle implant (#36113)
* behold!

* minor name change 👍

* Remove fields 👍

* Changes it to parent off DeathRattleImplant

* Adds implants round start and fixes hypothetical bug

* Update Resources/Prototypes/Entities/Mobs/Player/humanoid.yml

As per slarticodefast's suggestion

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-04-05 09:21:10 -07:00

22 lines
664 B
C#

using Content.Shared.Radio;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Implants.Components;
[RegisterComponent, NetworkedComponent]
public sealed partial class RattleComponent : Component
{
// The radio channel the message will be sent to
[DataField]
public ProtoId<RadioChannelPrototype> RadioChannel = "Syndicate";
// The message that the implant will send when crit
[DataField]
public LocId CritMessage = "deathrattle-implant-critical-message";
// The message that the implant will send when dead
[DataField]
public LocId DeathMessage = "deathrattle-implant-dead-message";
}