using Content.Shared.Guardian;
using Content.Shared.Hands.Components;
using Content.Shared.Hands.EntitySystems;
+using Content.Shared.IdentityManagement;
using Content.Shared.Interaction;
using Content.Shared.Interaction.Events;
using Content.Shared.Mobs;
// Can only inject things with the component...
if (!HasComp<CanHostGuardianComponent>(target))
{
- _popupSystem.PopupEntity(Loc.GetString("guardian-activator-invalid-target"), user, user);
+ var msg = Loc.GetString("guardian-activator-invalid-target", ("entity", Identity.Entity(target, EntityManager, user)));
+
+ _popupSystem.PopupEntity(msg, user, user);
return;
}
guardian-no-actions-invalid-creation = You don't have the ability to host a guardian!
guardian-activator-empty-invalid-creation = The injector is spent.
guardian-activator-empty-examine = [color=#ba1919]The injector is spent.[/color]
-# TODO: Change this once other species can inject it?
-guardian-activator-invalid-target = Only humans can be injected!
+guardian-activator-invalid-target = {CAPITALIZE(THE($entity))} cannot be injected!
guardian-no-soul = Your guardian has no soul.
guardian-available = Your guardian now has a soul.
guardian-inside-container = There's no room to release your guardian!