2023-10-11 02:19:46 -07:00
|
|
|
using Content.Shared.Singularity.EntitySystems;
|
2021-07-12 01:32:10 -07:00
|
|
|
using Robust.Shared.GameStates;
|
2023-04-14 19:47:32 +00:00
|
|
|
|
2021-06-24 04:48:11 +02:00
|
|
|
namespace Content.Shared.Singularity.Components
|
|
|
|
|
{
|
2023-04-14 19:47:32 +00:00
|
|
|
[RegisterComponent, NetworkedComponent]
|
|
|
|
|
[AutoGenerateComponentState]
|
2023-10-11 02:19:46 -07:00
|
|
|
[Access(typeof(SharedSingularitySystem))]
|
2023-04-14 19:47:32 +00:00
|
|
|
public sealed partial class SingularityDistortionComponent : Component
|
2021-06-24 04:48:11 +02:00
|
|
|
{
|
2023-10-11 02:19:46 -07:00
|
|
|
[DataField, AutoNetworkedField, ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public float Intensity = 31.25f;
|
2021-06-24 04:48:11 +02:00
|
|
|
|
2023-10-11 02:19:46 -07:00
|
|
|
[DataField, AutoNetworkedField, ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public float FalloffPower = MathF.Sqrt(2f);
|
2021-06-24 04:48:11 +02:00
|
|
|
}
|
|
|
|
|
}
|