Files
tbd-station-14/Content.Shared/Weapons/Melee/Balloon/BalloonPopperComponent.cs
FungiFellow ed7bea8e01 Inflatable Module (#35100)
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com>
2025-08-23 15:15:28 -07:00

25 lines
803 B
C#

using Content.Shared.Tag;
using Robust.Shared.Audio;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Shared.Weapons.Melee.Balloon;
/// <summary>
/// This is used for weapons that pop balloons on attack.
/// </summary>
[RegisterComponent]
public sealed partial class BalloonPopperComponent : Component
{
/// <summary>
/// The tag that marks something as a balloon.
/// </summary>
[DataField("balloonTag", customTypeSerializer: typeof(PrototypeIdSerializer<TagPrototype>))]
public string BalloonTag = "Balloon";
/// <summary>
/// The sound played when a balloon is popped.
/// </summary>
[DataField("popSound")]
public SoundSpecifier PopSound = new SoundPathSpecifier("/Audio/Effects/balloon-pop.ogg");
}