bluespace love (#17315)

This commit is contained in:
Nemanja
2023-06-13 21:32:03 -04:00
committed by GitHub
parent 620678df98
commit 81cff32045
3 changed files with 36 additions and 14 deletions

View File

@@ -0,0 +1,39 @@
using Content.Server.Anomaly.Effects;
using Robust.Shared.Audio;
namespace Content.Server.Anomaly.Components;
[RegisterComponent, Access(typeof(BluespaceAnomalySystem))]
public sealed class BluespaceAnomalyComponent : Component
{
/// <summary>
/// The maximum radius that the shuffle effect will extend for
/// scales with stability
/// </summary>
[DataField("maxShuffleRadius"), ViewVariables(VVAccess.ReadWrite)]
public float MaxShuffleRadius = 10;
/// <summary>
/// The maximum MAX distance the portal this anomaly is tied to can teleport you.
/// </summary>
[DataField("maxPortalRadius"), ViewVariables(VVAccess.ReadWrite)]
public float MaxPortalRadius = 25;
/// <summary>
/// The minimum MAX distance the portal this anomaly is tied to can teleport you.
/// </summary>
[DataField("minPortalRadius"), ViewVariables(VVAccess.ReadWrite)]
public float MinPortalRadius = 10;
/// <summary>
/// How far the supercritical event can teleport you
/// </summary>
[DataField("superCriticalTeleportRadius"), ViewVariables(VVAccess.ReadWrite)]
public float SupercriticalTeleportRadius = 50f;
/// <summary>
/// The sound played after players are shuffled/teleported around
/// </summary>
[DataField("teleportSound"), ViewVariables(VVAccess.ReadWrite)]
public SoundSpecifier TeleportSound = new SoundPathSpecifier("/Audio/Effects/teleport_arrival.ogg");
}