Lavaland chasms (#19154)
This commit is contained in:
17
Content.Shared/Chasm/ChasmComponent.cs
Normal file
17
Content.Shared/Chasm/ChasmComponent.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Chasm;
|
||||
|
||||
/// <summary>
|
||||
/// Marks a component that will cause entities to fall into them on a step trigger activation
|
||||
/// </summary>
|
||||
[NetworkedComponent, RegisterComponent, Access(typeof(ChasmSystem))]
|
||||
public sealed class ChasmComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Sound that should be played when an entity falls into the chasm
|
||||
/// </summary>
|
||||
[DataField("fallingSound")]
|
||||
public SoundSpecifier FallingSound = new SoundPathSpecifier("/Audio/Effects/falling.ogg");
|
||||
}
|
||||
Reference in New Issue
Block a user