CatStation/Content.Shared/SurveillanceCamera/Components/CameraActiveOnCollideColliderComponent.cs
ScarKy0 4a88b375df
Make cameras react to the AI eye nearby (#43466)
* init

TODO:
Make this part of the surveillance camera system
Make this be bearable when unpowered(Probably commented out until we make AI lose vision without power)
Remove leftover shit
Probably clean up the camera RSI

* move to surv cameras, unpowered, remove leftovers

* silly

* review

* review

* I can see the light

* reverse fixtures

* review

* dependency query

* unused oops
2026-04-05 15:03:29 +00:00

16 lines
480 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.SurveillanceCamera.Components;
/// <summary>
/// Can activate <see cref="CameraActiveOnCollideComponent"/> when collided with.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class CameraActiveOnCollideColliderComponent : Component
{
/// <summary>
/// The fixture id used for detecting the collision.
/// </summary>
[DataField]
public string FixtureId = "lightTrigger";
}