using Content.Shared.Examine; using Content.Shared.Ghost.Components; namespace Content.Shared.Warps; public sealed class WarpPointSystem : EntitySystem { public override void Initialize() { base.Initialize(); SubscribeLocalEvent(OnWarpPointExamine); } private void OnWarpPointExamine(EntityUid uid, WarpPointComponent component, ExaminedEvent args) { if (!HasComp(args.Examiner)) return; var loc = component.Location == null ? Name(uid) : Loc.GetString(component.Location); args.PushText(Loc.GetString("warp-point-component-on-examine-success", ("location", loc))); } }