Gravity anomaly rework (#24452)
* balance * gorilla gauntlet fix * magboots update * some more buff * randomwalk speed scales with severity * nerf * content * Revert "content"
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Anomaly.Effects.Components;
|
||||
|
||||
@@ -9,47 +9,81 @@ public sealed partial class GravityAnomalyComponent : Component
|
||||
/// The maximumum size the GravityWellComponent MaxRange can be.
|
||||
/// Is scaled linearly with stability.
|
||||
/// </summary>
|
||||
[DataField("maxGravityWellRange"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public float MaxGravityWellRange = 8f;
|
||||
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||
public float MaxGravityWellRange = 10f;
|
||||
|
||||
/// <summary>
|
||||
/// The maximum distance from which the anomaly
|
||||
/// can throw you via a pulse.
|
||||
/// </summary>
|
||||
[DataField("maxThrowRange"), ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||
public float MaxThrowRange = 5f;
|
||||
|
||||
/// <summary>
|
||||
/// The maximum strength the anomaly
|
||||
/// can throw you via a pulse
|
||||
/// </summary>
|
||||
[DataField("maxThrowStrength"), ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||
public float MaxThrowStrength = 10;
|
||||
|
||||
/// <summary>
|
||||
/// The maximum Intensity of the RadiationSourceComponent.
|
||||
/// Is scaled linearly with stability.
|
||||
/// </summary>
|
||||
[DataField("maxRadiationIntensity"), ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||
public float MaxRadiationIntensity = 3f;
|
||||
|
||||
/// <summary>
|
||||
/// The minimum acceleration value for GravityWellComponent
|
||||
/// Is scaled linearly with stability.
|
||||
/// </summary>
|
||||
[DataField("minAccel"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public float MinAccel = 1f;
|
||||
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||
public float MinAccel = 0f;
|
||||
|
||||
/// <summary>
|
||||
/// The maximum acceleration value for GravityWellComponent
|
||||
/// Is scaled linearly with stability.
|
||||
/// </summary>
|
||||
[DataField("maxAccel"), ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||
public float MaxAccel = 5f;
|
||||
|
||||
/// <summary>
|
||||
/// The minimum acceleration value for GravityWellComponent
|
||||
/// Is scaled linearly with stability.
|
||||
/// </summary>
|
||||
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||
public float MinRadialAccel = 0f;
|
||||
|
||||
/// <summary>
|
||||
/// The maximum acceleration value for GravityWellComponent
|
||||
/// Is scaled linearly with stability.
|
||||
/// </summary>
|
||||
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||
public float MaxRadialAccel = 5f;
|
||||
|
||||
/// <summary>
|
||||
/// The maximum speed for RandomWalkComponent
|
||||
/// Is scaled linearly with severity.
|
||||
/// </summary>
|
||||
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||
public float MinSpeed = 0.1f;
|
||||
|
||||
/// <summary>
|
||||
/// The maximum speed for RandomWalkComponent
|
||||
/// Is scaled linearly with severity.
|
||||
/// </summary>
|
||||
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||
public float MaxSpeed = 1.0f;
|
||||
|
||||
/// <summary>
|
||||
/// Random +- speed modifier
|
||||
/// </summary>
|
||||
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||
public float SpeedVariation = 0.1f;
|
||||
|
||||
/// <summary>
|
||||
/// The range around the anomaly that will be spaced on supercritical.
|
||||
/// </summary>
|
||||
[DataField("spaceRange"), ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||
public float SpaceRange = 3f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user