Communicate self-uncuff damage to player a bit more clearly (#17835)
This commit is contained in:
parent
99e447bb74
commit
669d332332
|
|
@ -26,6 +26,7 @@ using Content.Shared.Pulling.Events;
|
|||
using Content.Shared.Rejuvenate;
|
||||
using Content.Shared.Stunnable;
|
||||
using Content.Shared.Verbs;
|
||||
using Content.Shared.Weapons.Melee;
|
||||
using Content.Shared.Weapons.Melee.Events;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.Network;
|
||||
|
|
@ -591,6 +592,7 @@ namespace Content.Shared.Cuffs
|
|||
|
||||
if (target == user)
|
||||
{
|
||||
RaiseNetworkEvent(new DamageEffectEvent(Color.Red, new List<EntityUid>() { user }));
|
||||
_popup.PopupEntity(Loc.GetString("cuffable-component-start-uncuffing-self"), user, user);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
cuffable-component-cannot-interact-message = You can't do that!
|
||||
cuffable-component-cannot-remove-cuffs-too-far-message = You are too far away to remove the cuffs.
|
||||
|
||||
cuffable-component-start-uncuffing-self = You start uncuffing yourself.
|
||||
cuffable-component-start-uncuffing-self = You start to painfully wriggle out of your cuffs.
|
||||
cuffable-component-start-uncuffing-observer = {$user} starts uncuffing {$target}!
|
||||
cuffable-component-start-uncuffing-target-message = You start uncuffing {$targetName}.
|
||||
cuffable-component-start-uncuffing-by-other-message = {$otherName} starts uncuffing you!
|
||||
|
|
|
|||
Loading…
Reference in New Issue