using Content.Shared._EE.Shadowling; using Content.Shared.Storage.Components; namespace Content.Server._EE.Shadowling; /// /// This handles egg interactions. /// public sealed class ShadowlingHatchingSystem : 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, HatchingEggComponent component, ref StorageOpenAttemptEvent args) { args.Cancelled = true; } private void OnEggCloseAttempt(EntityUid uid, HatchingEggComponent component, ref StorageCloseAttemptEvent args) { args.Cancelled = true; } }