Files
tbd-station-14/Content.Shared/Silicons/Bots/EmaggableMedibotComponent.cs

20 lines
616 B
C#

using Content.Shared.Mobs;
using Robust.Shared.Audio;
using Robust.Shared.GameStates;
namespace Content.Shared.Silicons.Bots;
/// <summary>
/// Replaces the medibot's meds with these when emagged. Could be poison, could be fun.
/// </summary>
[RegisterComponent, NetworkedComponent]
[Access(typeof(MedibotSystem))]
public sealed partial class EmaggableMedibotComponent : Component
{
/// <summary>
/// Treatments to replace from the original set.
/// </summary>
[DataField(required: true), ViewVariables(VVAccess.ReadWrite)]
public Dictionary<MobState, MedibotTreatment> Replacements = new();
}