1
0

ChasmComponent.cs 591 B

1234567891011121314151617
  1. using Robust.Shared.Audio;
  2. using Robust.Shared.GameStates;
  3. namespace Content.Shared.Chasm;
  4. /// <summary>
  5. /// Marks a component that will cause entities to fall into them on a step trigger activation
  6. /// </summary>
  7. [NetworkedComponent, RegisterComponent, Access(typeof(ChasmSystem))]
  8. public sealed partial class ChasmComponent : Component
  9. {
  10. /// <summary>
  11. /// Sound that should be played when an entity falls into the chasm
  12. /// </summary>
  13. [DataField("fallingSound")]
  14. public SoundSpecifier FallingSound = new SoundPathSpecifier("/Audio/Effects/falling.ogg");
  15. }