return;
_suicide.ApplyLethalDamage((args.Victim, damageableComponent), "Piercing");
- var othersMessage = Loc.GetString("comp-kitchen-spike-suicide-other", ("victim", args.Victim));
+ var othersMessage = Loc.GetString("comp-kitchen-spike-suicide-other",
+ ("victim", Identity.Entity(args.Victim, EntityManager)),
+ ("this", entity));
_popupSystem.PopupEntity(othersMessage, args.Victim, Filter.PvsExcept(args.Victim), true);
- var selfMessage = Loc.GetString("comp-kitchen-spike-suicide-self");
+ var selfMessage = Loc.GetString("comp-kitchen-spike-suicide-self",
+ ("this", entity));
_popupSystem.PopupEntity(selfMessage, args.Victim, args.Victim);
args.Handled = true;
}
UpdateAppearance(uid, null, component);
- _popupSystem.PopupEntity(Loc.GetString("comp-kitchen-spike-kill", ("user", Identity.Entity(userUid, EntityManager)), ("victim", victimUid)), uid, PopupType.LargeCaution);
+ _popupSystem.PopupEntity(Loc.GetString("comp-kitchen-spike-kill",
+ ("user", Identity.Entity(userUid, EntityManager)),
+ ("victim", Identity.Entity(victimUid, EntityManager)),
+ ("this", uid)),
+ uid, PopupType.LargeCaution);
_transform.SetCoordinates(victimUid, Transform(uid).Coordinates);
// THE WHAT?
protected override void CreamedEntity(EntityUid uid, CreamPiedComponent creamPied, ThrowHitByEvent args)
{
- _popup.PopupEntity(Loc.GetString("cream-pied-component-on-hit-by-message", ("thrower", args.Thrown)), uid, args.Target);
+ _popup.PopupEntity(Loc.GetString("cream-pied-component-on-hit-by-message",
+ ("thrower", Identity.Entity(args.Thrown, EntityManager))),
+ uid, args.Target);
+
var otherPlayers = Filter.Empty().AddPlayersByPvs(uid);
if (TryComp<ActorComponent>(args.Target, out var actor))
{
otherPlayers.RemovePlayer(actor.PlayerSession);
}
- _popup.PopupEntity(Loc.GetString("cream-pied-component-on-hit-by-message-others", ("owner", Identity.Name(uid, EntityManager)), ("thrower", args.Thrown)), uid, otherPlayers, false);
+ _popup.PopupEntity(Loc.GetString("cream-pied-component-on-hit-by-message-others",
+ ("owner", Identity.Entity(uid, EntityManager)),
+ ("thrower", Identity.Entity(args.Thrown, EntityManager))),
+ uid, otherPlayers, false);
}
private void OnRejuvenate(Entity<CreamPiedComponent> entity, ref RejuvenateEvent args)
_popup.PopupClient(Loc.GetString("handcuff-component-cuff-interrupt-message",
("targetName", Identity.Name(target, EntityManager, user))), user, user);
_popup.PopupClient(Loc.GetString("handcuff-component-cuff-interrupt-other-message",
- ("otherName", Identity.Name(user, EntityManager, target))), target, target);
+ ("otherName", Identity.Name(user, EntityManager, target)),
+ ("otherEnt", user)), target, target);
}
}
}
var (time, stealth) = GetStripTimeModifiers(user, target, held, slotDef.StripTime);
if (!stealth)
- _popupSystem.PopupEntity(Loc.GetString("strippable-component-alert-owner-insert", ("user", Identity.Entity(user, EntityManager)), ("item", user.Comp.ActiveHandEntity!.Value)), target, target, PopupType.Large);
+ _popupSystem.PopupEntity(Loc.GetString("strippable-component-alert-owner-insert",
+ ("user", Identity.Entity(user, EntityManager)),
+ ("item", user.Comp.ActiveHandEntity!.Value)),
+ target, target, PopupType.Large);
var prefix = stealth ? "stealthily " : "";
_adminLogger.Add(LogType.Stripping, LogImpact.Low, $"{ToPrettyString(user):actor} is trying to {prefix}place the item {ToPrettyString(held):item} in {ToPrettyString(target):target}'s {slot} slot");
if (IsStripHidden(slotDef, user))
_popupSystem.PopupEntity(Loc.GetString("strippable-component-alert-owner-hidden", ("slot", slot)), target, target, PopupType.Large);
else
- _popupSystem.PopupEntity(Loc.GetString("strippable-component-alert-owner", ("user", Identity.Entity(user, EntityManager)), ("item", item)), target, target, PopupType.Large);
+ _popupSystem.PopupEntity(Loc.GetString("strippable-component-alert-owner",
+ ("user", Identity.Entity(user, EntityManager)),
+ ("item", item)),
+ target, target, PopupType.Large);
}
var prefix = stealth ? "stealthily " : "";
var (time, stealth) = GetStripTimeModifiers(user, target, null, targetStrippable.HandStripDelay);
if (!stealth)
- _popupSystem.PopupEntity(Loc.GetString("strippable-component-alert-owner-insert-hand", ("user", Identity.Entity(user, EntityManager)), ("item", user.Comp.ActiveHandEntity!.Value)), target, target, PopupType.Large);
+ _popupSystem.PopupEntity(Loc.GetString("strippable-component-alert-owner-insert-hand",
+ ("user", Identity.Entity(user, EntityManager)),
+ ("item", user.Comp.ActiveHandEntity!.Value)),
+ target, target, PopupType.Large);
var prefix = stealth ? "stealthily " : "";
_adminLogger.Add(LogType.Stripping, LogImpact.Low, $"{ToPrettyString(user):actor} is trying to {prefix}place the item {ToPrettyString(held):item} in {ToPrettyString(target):target}'s hands");
var (time, stealth) = GetStripTimeModifiers(user, target, null, targetStrippable.HandStripDelay);
if (!stealth)
- _popupSystem.PopupEntity(Loc.GetString("strippable-component-alert-owner", ("user", Identity.Entity(user, EntityManager)), ("item", item)), target, target);
+ _popupSystem.PopupEntity(Loc.GetString("strippable-component-alert-owner",
+ ("user", Identity.Entity(user, EntityManager)),
+ ("item", item)),
+ target, target);
var prefix = stealth ? "stealthily " : "";
_adminLogger.Add(LogType.Stripping, LogImpact.Low, $"{ToPrettyString(user):actor} is trying to {prefix}strip the item {ToPrettyString(item):item} from {ToPrettyString(target):target}'s hands");
handcuff-component-cuff-by-other-success-message = You have been restrained by {$otherName}!
handcuff-component-cuff-self-success-message = You restrain yourself.
handcuff-component-cuff-interrupt-message = You were interrupted while restraining {$targetName}!
-handcuff-component-cuff-interrupt-other-message = You interrupt {$otherName} while they are restraining you!
+handcuff-component-cuff-interrupt-other-message = You interrupt {$otherName} while { SUBJECT($otherEnt) } { CONJUGATE-BE($otherEnt) } restraining you!
handcuff-component-cuff-interrupt-self-message = You were interrupted while restraining yourself.
handcuff-component-cuff-interrupt-buckled-message = You can't buckle while restrained!
handcuff-component-cuff-interrupt-unbuckled-message = You can't unbuckle while restrained!
-handcuff-component-cannot-drop-cuffs = You are unable to put the restraints on {$target}
+handcuff-component-cannot-drop-cuffs = You are unable to put the restraints on {$target}.
comp-kitchen-spike-begin-hook-victim = { CAPITALIZE(THE($user)) } begins dragging you onto { THE($this) }!
comp-kitchen-spike-begin-hook-self = You begin dragging yourself onto { THE($this) }!
-comp-kitchen-spike-kill = { CAPITALIZE(THE($user)) } has forced { THE($victim) } onto the spike, killing them instantly!
+comp-kitchen-spike-kill = { CAPITALIZE(THE($user)) } has forced { THE($victim) } onto { THE($this) }, killing { OBJECT($victim) } instantly!
-comp-kitchen-spike-suicide-other = { CAPITALIZE(THE($victim)) } has thrown themselves on a meat spike!
-comp-kitchen-spike-suicide-self = You throw yourself on a meat spike!
+comp-kitchen-spike-suicide-other = { CAPITALIZE(THE($victim)) } threw { REFLEXIVE($victim) } on { THE($this) }!
+comp-kitchen-spike-suicide-self = You throw yourself on { THE($this) }!
comp-kitchen-spike-knife-needed = You need a knife to do this.
comp-kitchen-spike-remove-meat = You remove some meat from { THE($victim) }.
cream-pied-component-on-hit-by-message = You have been creamed by {$thrower}!
-cream-pied-component-on-hit-by-message-others = {$owner} has been creamed by {$thrower}!
\ No newline at end of file
+cream-pied-component-on-hit-by-message-others = {$owner} has been creamed by {$thrower}!
### Interaction Messages
# When trying to eat food without the required utensil... but you gotta hold it
-food-you-need-to-hold-utensil = You need to be holding a {$utensil} to eat that!
+food-you-need-to-hold-utensil = You need to be holding {INDEFINITE($utensil)} {$utensil} to eat that!
food-nom = Nom. {$flavors}
-food-swallow = You swallow the {$food}. {$flavors}
+food-swallow = You swallow { THE($food) }. {$flavors}
-food-has-used-storage = You cannot eat the {$food} with an item stored inside.
+food-has-used-storage = You cannot eat { THE($food) } with an item stored inside.
food-system-remove-mask = You need to take off the {$entity} first.
strippable-component-cannot-drop-message = {CAPITALIZE(THE($owner))} cannot drop that!
strippable-component-alert-owner = {CAPITALIZE(THE($user))} is removing your {$item}!
strippable-component-alert-owner-hidden = You feel someone fumbling in your {$slot}!
-strippable-component-alert-owner-insert = {CAPITALIZE(THE($user))} is putting {$item} on you!
-strippable-component-alert-owner-insert-hand = {CAPITALIZE(THE($user))} is putting {$item} in your hand!
+strippable-component-alert-owner-insert = {CAPITALIZE(THE($user))} is putting {INDEFINITE($item)} {$item} on you!
+strippable-component-alert-owner-insert-hand = {CAPITALIZE(THE($user))} is putting {INDEFINITE($item)} {$item} in your hand!
# generic warning for when a user interacts with your equipped items.
strippable-component-alert-owner-interact = {CAPITALIZE(THE($user))} is fumbling around with your {$item}!