From 5f500ea07069ad144ae4f6a33e2021a8fbacc2bb Mon Sep 17 00:00:00 2001
From: SimpleStation14 <130339894+SimpleStation14@users.noreply.github.com>
Date: Sun, 7 Apr 2024 20:26:40 -0700
Subject: [PATCH] Add Anti Anomaly Zone (#56)
## Mirror of PR #944: [Add Anti Anomaly
Zone](https://github.com/DeltaV-Station/Delta-v/pull/944) from
[DeltaV-Station](https://github.com/DeltaV-Station)/[Delta-v](https://github.com/DeltaV-Station/Delta-v)
`7abdf9a19fe59243201336e6b586ee4780a4722e`
---
PR changed 0 files with 0 additions and 0 deletions.
The PR had the following labels:
- Changes: YML
- Status: Needs Review
---
Original Body
>
>
>
> ## About the PR
>
>
> https://github.com/space-wizards/space-station-14/pull/24634
>
> Upstream added, then removed this, saying "Remove[d] mapping markers
as everything should be ingame entities and this is functioning as an
area." They left in the code for downstreams. While an ingame object
that can perform this function might be useful, this would be best used
for arrivals and inside the atmos gas chambers, to prevent those areas
that are supposed to be ungriefed from getting griefed by the game
itself. If it were an entity, people would probably game it and move
those around, and if it were powered, it would fail at its target
function. And regardless, upstream removed this *without adding in that
entity to replace it.*
>
> Additionally, some maps have areas where an anom could fully go crit
without anyone noticing and it would never affect anybody... which is
really boring, such as this area on arena. I have one or two areas like
that on Submarine I'd like to use this for.
>
>
![image](https://github.com/DeltaV-Station/Delta-v/assets/52761126/a27a85f0-4676-4d62-bc10-6b0da6f77342)
>
Co-authored-by: rosieposie <52761126+rosieposieeee@users.noreply.github.com>
---
.../Entities/Markers/anti_anomaly_zone.yml | 33 +++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 Resources/Prototypes/DeltaV/Entities/Markers/anti_anomaly_zone.yml
diff --git a/Resources/Prototypes/DeltaV/Entities/Markers/anti_anomaly_zone.yml b/Resources/Prototypes/DeltaV/Entities/Markers/anti_anomaly_zone.yml
new file mode 100644
index 00000000000..f6609c8343e
--- /dev/null
+++ b/Resources/Prototypes/DeltaV/Entities/Markers/anti_anomaly_zone.yml
@@ -0,0 +1,33 @@
+- type: entity
+ name: anti anomaly zone
+ description: Anomalies will not be able to appear within a 10 block radius of this point.
+ id: AntiAnomalyZone
+ suffix: "range 10"
+ parent: MarkerBase
+ components:
+ - type: Sprite
+ sprite: Structures/Specific/Anomalies/ice_anom.rsi
+ layers:
+ - state: anom
+ - sprite: Markers/cross.rsi
+ state: pink
+ - type: AntiAnomalyZone
+ zoneRadius: 10
+
+- type: entity
+ parent: AntiAnomalyZone
+ id: AntiAnomalyZone20
+ suffix: "range 20"
+ description: Anomalies will not be able to appear within a 20 block radius of this point.
+ components:
+ - type: AntiAnomalyZone
+ zoneRadius: 20
+
+- type: entity
+ parent: AntiAnomalyZone
+ id: AntiAnomalyZone50
+ suffix: "range 50"
+ description: Anomalies will not be able to appear within a 50 block radius of this point.
+ components:
+ - type: AntiAnomalyZone
+ zoneRadius: 50