mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-12 03:41:14 +03:00
* 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
14 lines
414 B
C#
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;
|
|
}
|