2022-02-16 08:24:38 -06:00
|
|
|
using Content.Shared.Damage;
|
2023-05-10 17:27:47 -07:00
|
|
|
using Robust.Shared.Audio;
|
2024-04-24 09:02:43 -04:00
|
|
|
using Robust.Shared.GameStates;
|
2021-01-23 17:54:58 +01:00
|
|
|
|
2024-04-24 09:02:43 -04:00
|
|
|
namespace Content.Shared.Interaction.Components;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A simple clumsy tag-component.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
|
|
|
public sealed partial class ClumsyComponent : Component
|
2020-07-26 14:08:09 +02:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
2024-04-24 09:02:43 -04:00
|
|
|
/// Damage dealt to a clumsy character when they try to fire a gun.
|
2020-07-26 14:08:09 +02:00
|
|
|
/// </summary>
|
2024-04-24 09:02:43 -04:00
|
|
|
[DataField(required: true), AutoNetworkedField]
|
|
|
|
|
public DamageSpecifier ClumsyDamage = default!;
|
2023-05-10 17:27:47 -07:00
|
|
|
|
2024-04-24 09:02:43 -04:00
|
|
|
/// <summary>
|
|
|
|
|
/// Sound to play when clumsy interactions fail.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField]
|
|
|
|
|
public SoundSpecifier ClumsySound = new SoundPathSpecifier("/Audio/Items/bikehorn.ogg");
|
2020-07-26 14:08:09 +02:00
|
|
|
}
|