Add popup for owner when inserting item in hand (#28032)
This commit is contained in:
@@ -413,6 +413,9 @@ namespace Content.Server.Strip
|
||||
|
||||
var (time, stealth) = GetStripTimeModifiers(user, target, 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);
|
||||
|
||||
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");
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ strippable-component-cannot-drop-message = {$owner} cannot drop that!
|
||||
strippable-component-alert-owner = {$user} is removing your {$item}!
|
||||
strippable-component-alert-owner-hidden = You feel someone fumbling in your {$slot}!
|
||||
strippable-component-alert-owner-insert = {$user} is putting {$item} on you!
|
||||
strippable-component-alert-owner-insert-hand = {$user} is putting {$item} in your hand!
|
||||
|
||||
# generic warning for when a user interacts with your equipped items.
|
||||
strippable-component-alert-owner-interact = {$user} is fumbling around with your {$item}!
|
||||
|
||||
Reference in New Issue
Block a user