* Gateway generation * Gateway stuff * gatewehs * mercenaries * play area * Range fixes and tweaks * weh * Gateway UI polish * Lots of fixes * Knock some items off * Fix dungeon spawning Realistically we should probably be using a salvage job. * wahwah * wehvs * expression * weh * eee * a * a * WEH * frfr * Gatwey * Fix gateway windows * Fix gateway windows * a * a * Better layer masking * a * a * Noise fixes * a * Fix fractal calculations * a * More fixes * Fixes * Add layers back in * Fixes * namespaces and ftl * Other TODO * Fix distance * Cleanup * Fix test
18 lines
477 B
C#
18 lines
477 B
C#
using System.Numerics;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Salvage;
|
|
|
|
/// <summary>
|
|
/// Restricts entities to the specified range on the attached map entity.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class RestrictedRangeComponent : Component
|
|
{
|
|
[DataField(required: true), AutoNetworkedField]
|
|
public float Range = 72f;
|
|
|
|
[DataField, AutoNetworkedField]
|
|
public Vector2 Origin;
|
|
}
|