using Content.Shared._EE.Shadowling.Components; using Content.Shared.Storage.Components; namespace Content.Shared._EE.Shadowling; /// /// This handles Ascension Egg interactions /// public sealed class ShadowlingAscensionEggInteractionSystem : EntitySystem { /// public override void Initialize() { base.Initialize(); // The egg shouldn't be interactable by any means SubscribeLocalEvent(OnEggOpenAttempt); SubscribeLocalEvent(OnEggCloseAttempt); } private void OnEggOpenAttempt(EntityUid uid, ShadowlingAscensionEggComponent component, ref StorageOpenAttemptEvent args) { args.Cancelled = true; } private void OnEggCloseAttempt(EntityUid uid, ShadowlingAscensionEggComponent component, ref StorageCloseAttemptEvent args) { args.Cancelled = true; } }