using Robust.Shared.Prototypes;
using Content.Shared.Damage;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
using Content.Shared.Chat.Prototypes;
using Robust.Shared.Audio;
namespace Content.Server._White._Engi.Suhariki;
///
/// WD.
/// Makes you loose your tooth and have funny accent.
///
[RegisterComponent, Access(typeof(SuharikiSystem))]
public sealed partial class SuharikiComponent : Component
{
///
/// Amount and type of damage that will be dealt on event.
///
[DataField(required: true)]
[ViewVariables(VVAccess.ReadWrite)]
public DamageSpecifier Damage = new();
///
/// Chance of event activation.
///
[DataField]
public float Chance = 0;
///
/// Amount of rolls for event.
///
[DataField]
public int StonesInFood = 1;
///
/// The prototype that will be spawned on event.
///
[DataField(customTypeSerializer: typeof(PrototypeIdSerializer)), ViewVariables(VVAccess.ReadWrite)]
public string HoldingPrototype = "SuharikiTooth";
///
/// Emote triggered on event.
///
[DataField(customTypeSerializer: typeof(PrototypeIdSerializer))]
public string EmoteId = "Scream";
///
/// Sound triggered on event.
///
[DataField]
public SoundSpecifier UseSound { get; set; } = new SoundPathSpecifier("/Audio/White/_Engi/Object/Misc/Suhariki/tooth_break.ogg");
}