CatStation/Content.Server/StationEvents/Components/BreakerFlipRuleComponent.cs
qwerltaz e39cd127d9
fix some station events targeting off-station grids (#45813)
* fix vent critters spawning off station

* I polish the code

* add utility to get entities ONLY on the station. use in vent critters rule.

* fix station events affecting outside grids

* better argument names for GetEntitiesWithComponentOnStation

* BreakerFlipRule

* \n

* fix doc in GetEntitiesWithComponentOnStation

* keep the comments

* remove BreakerFlipRuleComponent Blacklist

* minor cleanup

* review

* format

---------

Co-authored-by: Pok245 <113675512+Pok27@users.noreply.github.com>
2026-10-03 19:17:59 +00:00

7 lines
247 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;