CatStation/Content.Server/StationEvents/Components/BreakerFlipRuleComponent.cs
w3ryfrate 02e8523f05
BreakerFlipRule tweaks and ApcToggleBreaker cleanup (#45097)
* Logging fixed + minor clean-up of ApcToggleBreaker method

* ATS is no longer targeted by BreakFlipRule

* Fixed typo

* Now uses Uid

* Now uses Uid

* Fixed look-up

* Added blacklist to BreakerFlipComponent to specify which entities shouldn't trigger the game rule

* small fix
2026-08-11 21:33:52 +00:00

14 lines
414 B
C#

using Content.Server.StationEvents.Events;
using Content.Shared.Whitelist;
namespace Content.Server.StationEvents.Components;
[RegisterComponent, Access(typeof(BreakerFlipRule))]
public sealed partial class BreakerFlipRuleComponent : Component
{
/// <summary>
/// Blacklist of structures not eligible to trigger this game rule.
/// </summary>
[DataField]
public EntityWhitelist? Blacklist;
}