Add popup message for activating trigger with hand (#24858)
This commit is contained in:
parent
58e28b5136
commit
6b1524138b
|
|
@ -171,6 +171,8 @@ public sealed partial class TriggerSystem
|
|||
if (args.Handled || HasComp<AutomatedTimerComponent>(uid) || component.UseVerbInstead)
|
||||
return;
|
||||
|
||||
_popupSystem.PopupEntity(Loc.GetString("trigger-activated", ("device", uid)), args.User, args.User);
|
||||
|
||||
HandleTimerTrigger(
|
||||
uid,
|
||||
args.User,
|
||||
|
|
|
|||
|
|
@ -12,3 +12,5 @@ verb-start-detonation = Start detonation
|
|||
verb-toggle-start-on-stick = Toggle auto-activation
|
||||
popup-start-on-stick-off = The device will no longer activate automatically when planted
|
||||
popup-start-on-stick-on = The device will now activate automatically when planted
|
||||
|
||||
trigger-activated = You activate {THE($device)}.
|
||||
|
|
|
|||
Loading…
Reference in New Issue