Lavaland chasms (#19154)

This commit is contained in:
Kara
2023-08-14 19:29:24 -07:00
committed by GitHub
parent 71f5e38faf
commit cfccb5959a
20 changed files with 331 additions and 5 deletions

View 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");
}