This commit is contained in:
vm-silicons
2025-12-19 21:53:57 -08:00
parent ada5c19928
commit c90f9d8a92
38 changed files with 158 additions and 127 deletions
@@ -225,11 +225,11 @@
borgo.toggle_headlamp(FALSE, TRUE)
return TRUE
/obj/item/modular_computer/tablet/integrated/alert_call(datum/computer_file/program/caller, alerttext, sound = 'sound/machines/twobeep_high.ogg')
if(!caller || !caller.alert_able || caller.alert_silenced || !alerttext) //Yeah, we're checking alert_able. No, you don't get to make alerts that the user can't silence.
/obj/item/modular_computer/tablet/integrated/alert_call(datum/computer_file/program/, alerttext, sound = 'sound/machines/twobeep_high.ogg')
if(! || !.alert_able || .alert_silenced || !alerttext) //Yeah, we're checking alert_able. No, you don't get to make alerts that the user can't silence.
return
borgo.playsound_local(src, sound, 50, TRUE)
to_chat(borgo, span_notice("The [src] displays a [caller.filedesc] notification: [alerttext]"))
to_chat(borgo, span_notice("The [src] displays a [.filedesc] notification: [alerttext]"))
/obj/item/modular_computer/tablet/integrated/syndicate