Files
crystall-punk-14/Content.Server/Ame/Components/AmePartComponent.cs

25 lines
846 B
C#
Raw Normal View History

using Content.Shared.Tools;
2023-06-28 05:02:06 -07:00
using Robust.Shared.Audio;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server.Ame.Components;
/// <summary>
/// Packaged AME machinery that can be deployed to construct an AME.
/// </summary>
[RegisterComponent]
public sealed partial class AmePartComponent : Component
2023-06-28 05:02:06 -07:00
{
/// <summary>
/// The sound played when the AME shielding is unpacked.
/// </summary>
[DataField("unwrapSound")]
public SoundSpecifier UnwrapSound = new SoundPathSpecifier("/Audio/Effects/unwrap.ogg");
/// <summary>
/// The tool quality required to deploy the packaged AME shielding.
/// </summary>
[DataField("qualityNeeded", customTypeSerializer: typeof(PrototypeIdSerializer<ToolQualityPrototype>))]
2023-06-28 05:02:06 -07:00
public string QualityNeeded = "Pulsing";
}