using Content.Shared.DeviceNetwork;
using Content.Shared.Emag.Components;
using Content.Shared.Popups;
+using Content.Shared.Silicons.Borgs.Components;
using Robust.Server.GameObjects;
using Robust.Shared.Configuration;
return;
}
+ // User has an id
if (_idCardSystem.TryFindIdCard(mob, out var id))
{
author = $"{id.Comp.FullName} ({CultureInfo.CurrentCulture.TextInfo.ToTitleCase(id.Comp.JobTitle ?? string.Empty)})".Trim();
}
+
+ // User does not have an id and is a borg, so use the borg's name
+ if (HasComp<BorgChassisComponent>(mob))
+ {
+ author = Name(mob).Trim();
+ }
}
comp.AnnouncementCooldownRemaining = comp.Delay;