ECS AME (#16779)
This commit is contained in:
24
Content.Server/Ame/Components/AmePartComponent.cs
Normal file
24
Content.Server/Ame/Components/AmePartComponent.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Prototypes;
|
||||
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 class AmePartComponent : Component
|
||||
{
|
||||
/// <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<EntityPrototype>))]
|
||||
public string QualityNeeded = "Pulsing";
|
||||
}
|
||||
Reference in New Issue
Block a user