Add popup message for activating trigger with hand (#24858)

This commit is contained in:
Kevin Zheng
2024-02-02 00:00:06 -08:00
committed by GitHub
parent 58e28b5136
commit 6b1524138b
2 changed files with 4 additions and 0 deletions

View File

@@ -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,

View File

@@ -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)}.