private void OnRemoved(EntityUid uid, SuppressArtifactContainerComponent component, EntRemovedFromContainerMessage args) { if (!TryComp(args.Entity, out ArtifactComponent? artifact)) { return; } artifact.IsSuppressed = false; }
private void OnInserted(EntityUid uid, SuppressArtifactContainerComponent component, EntInsertedIntoContainerMessage args) { if (!TryComp(args.Entity, out ArtifactComponent? artifact)) { return; } artifact.IsSuppressed = true; }