add syndicate singularity beacon (#18486)
* implement singulo attraction * add attractor syndie item * cleanup * fix name/desc * actually fix name * singulo toolbox no longer whitelisted * add custom sprite, overhaul prototype * address review * beacon real * webedit 1 * webedit 2 * webedit 3 * permalink to copyright --------- Co-authored-by: deltanedas <39013340+deltanedas@users.noreply.github.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System.Numerics;
|
||||
using Content.Server.Physics.Controllers;
|
||||
|
||||
namespace Content.Server.Physics.Components;
|
||||
@@ -29,6 +30,18 @@ public sealed partial class RandomWalkComponent : Component
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public float AccumulatorRatio = 0.0f;
|
||||
|
||||
/// <summary>
|
||||
/// The vector by which the random walk direction is biased.
|
||||
/// </summary>
|
||||
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||
public Vector2 BiasVector = new Vector2(0f, 0f);
|
||||
|
||||
/// <summary>
|
||||
/// Whether to set BiasVector to (0, 0) every random walk update.
|
||||
/// </summary>
|
||||
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||
public bool ResetBiasOnWalk = true;
|
||||
|
||||
/// <summary>
|
||||
/// Whether this random walker should take a step immediately when it starts up.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user