// Apply salt to the wound ("Honk!")
Audio.PlayPvs(new SoundPathSpecifier("/Audio/Weapons/Guns/Gunshots/bang.ogg"), gunUid);
- Audio.PlayPvs(new SoundPathSpecifier("/Audio/Items/bikehorn.ogg"), gunUid);
+ Audio.PlayPvs(clumsy.ClumsySound, gunUid);
PopupSystem.PopupEntity(Loc.GetString("gun-clumsy"), user.Value);
_adminLogger.Add(LogType.EntityDelete, LogImpact.Medium, $"Clumsy fire by {ToPrettyString(user.Value)} deleted {ToPrettyString(gunUid)}");
using Content.Shared.Damage;
+using Robust.Shared.Audio;
namespace Content.Shared.Interaction.Components
{
[DataField("clumsyDamage", required: true)]
[ViewVariables(VVAccess.ReadWrite)]
public DamageSpecifier ClumsyDamage = default!;
+
+ /// <summary>
+ /// Sound to play when clumsy interactions fail
+ /// </summary>
+ [DataField("clumsySound")]
+ public SoundSpecifier ClumsySound = new SoundPathSpecifier("/Audio/Items/bikehorn.ogg");
}
}
name: ghost-role-information-monkey-name
description: ghost-role-information-monkey-description
- type: GhostTakeoverAvailable
+ - type: Clumsy
+ clumsyDamage:
+ types:
+ Blunt: 5
+ Piercing: 4
+ groups:
+ Burn: 3
+ clumsySound:
+ path: /Audio/Animals/monkey_scream.ogg
- type: entity
name: guidebook monkey