Files
wwdpublic/Content.Server/Anomaly/Components/AntiAnomalyZoneComponent.cs
Ed 2c75e0498d Anti Anomaly zones (#23187)
* add

* its work now

* pipi

* Update Content.Server/Anomaly/AnomalySystem.Generator.cs

Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>

* fix ()

---------

Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
(cherry picked from commit 77cc81d37617cccb02245c070ce70d0027ec8483)
2024-01-23 22:52:44 +01:00

16 lines
465 B
C#

namespace Content.Server.Anomaly.Components;
/// <summary>
/// prohibits the possibility of anomalies appearing in the specified radius around the entity
/// </summary>
[RegisterComponent, Access(typeof(AnomalySystem))]
public sealed partial class AntiAnomalyZoneComponent : Component
{
/// <summary>
/// the radius in which anomalies cannot appear
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public float ZoneRadius = 10;
}