Files
wwdpublic/Content.Server/_White/Anomaly/Components/WormholeAnomalyComponent.cs
PuroSlavKing 7ec558348c [Feature] Wormhole Anomaly (#156)
* [Feature] Wormhole Anomaly

* duration edit

* timed teleportation

* IRobustRandom

* Update Content.Server/_White/Anomaly/Effects/WormholeAnomalySystem.cs

Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>

* remove on shutdown

* counts

---------

Co-authored-by: Remuchi <72476615+Remuchi@users.noreply.github.com>
2024-12-22 12:19:01 +07:00

26 lines
715 B
C#

using Robust.Shared.Audio;
namespace Content.Server.Anomaly.Components;
[RegisterComponent]
public sealed partial class WormholeAnomalyComponent : Component
{
/// <summary>
/// The pulse interval in seconds.
/// </summary>
[DataField("pulseInterval")]
public float PulseInterval = 15f;
/// <summary>
/// The maximum shuffle distance.
/// </summary>
[DataField("maxShuffleRadius")]
public float MaxShuffleRadius = 40f;
/// <summary>
/// The sound after shuffled around.
/// </summary>
[DataField("teleportSound"), ViewVariables(VVAccess.ReadWrite)]
public SoundSpecifier TeleportSound = new SoundPathSpecifier("/Audio/Effects/teleport_arrival.ogg");
}