if (args.Handled || HasComp<AutomatedTimerComponent>(uid) || component.UseVerbInstead)
return;
- _popupSystem.PopupEntity(Loc.GetString("trigger-activated", ("device", uid)), args.User, args.User);
+ if (component.DoPopup)
+ _popupSystem.PopupEntity(Loc.GetString("trigger-activated", ("device", uid)), args.User, args.User);
HandleTimerTrigger(
uid,
/// Whether you can examine the item to see its timer or not.
/// </summary>
[DataField] public bool Examinable = true;
+
+ /// <summary>
+ /// Whether or not to show the user a popup when starting the timer.
+ /// </summary>
+ [DataField] public bool DoPopup = true;
}
}