mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 21:48:58 +03:00
* [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>
26 lines
715 B
C#
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");
|
|
}
|