6
2025-12-18 02:55:17 +03:00

22 lines
613 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Chemistry.Components;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState(true)]
public sealed partial class PillComponent : Component
{
/// <summary>
/// The pill id. Used for networking & serializing pill visuals.
/// </summary>
[AutoNetworkedField]
[DataField("pillType")]
[ViewVariables(VVAccess.ReadWrite)]
public uint PillType;
/// <summary>
/// Frontier: if true, pill appearance will be randomly generated on init.
/// </summary>
[DataField(serverOnly: true)]
public bool Random;
}