* 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>
22 lines
664 B
C#
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";
|
|
}
|