mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Makes receiving pda message more noticeable (#15544)
* makes pda message receiving more noticeable * Update ntpda_msg.dm
This commit is contained in:
@@ -188,18 +188,18 @@ GLOBAL_LIST_EMPTY(NTPDAMessages)
|
||||
|
||||
if(!silent && istype(holder, /obj/item/computer_hardware/hard_drive))
|
||||
if(HAS_TRAIT(SSstation, STATION_TRAIT_PDA_GLITCHED))
|
||||
playsound(holder, pick('sound/machines/twobeep_voice1.ogg', 'sound/machines/twobeep_voice2.ogg'), 6, FALSE)
|
||||
playsound(holder, pick('sound/machines/twobeep_voice1.ogg', 'sound/machines/twobeep_voice2.ogg'), 50, FALSE)
|
||||
else
|
||||
playsound(holder, 'sound/machines/twobeep_high.ogg', 6, FALSE)
|
||||
playsound(holder, 'sound/machines/twobeep_high.ogg', 50, FALSE)
|
||||
|
||||
// FOR SOME REASON [computer] ISN'T SET ON INIT AND IS SET WHEN YOU START IT UP THE FIRST TIME
|
||||
if(computer) // I HAVE TO DO THIS OR THEY WON'T RECEIVE MESSAGES UNTIL THEY OPEN THE PDA ONCE (BAD)
|
||||
computer.audible_message("[icon2html(computer, hearers(computer))] *[ringtone]*", null, 3)
|
||||
computer.visible_message(span_notice("Message from [sender.username], \"[message]\""), null, null, 1)
|
||||
computer.visible_message(span_notice("<b>Message from [sender.username], \"[message]\"</b>"), null, null, 1)
|
||||
else if(istype(holder.loc, /obj/item/modular_computer)) // play it from the (unset) computer
|
||||
var/obj/item/modular_computer/tempcomp = holder.loc
|
||||
tempcomp.audible_message("[icon2html(tempcomp, hearers(tempcomp))] *[ringtone]*", null, 3)
|
||||
tempcomp.visible_message(span_notice("Message from [sender.username], \"[message]\""), null, null, 1)
|
||||
tempcomp.visible_message(span_notice("<b>Message from [sender.username], \"[message]\"</b>"), null, null, 1)
|
||||
|
||||
return TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user