From bae4825a44fcf3a8c41c880146c4bfc983b5e60d Mon Sep 17 00:00:00 2001 From: Bop Date: Wed, 31 Aug 2022 21:37:06 +0700 Subject: [PATCH 1/2] makes pda message receiving more noticeable --- .../modular_computers/file_system/programs/ntpda_msg.dm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/modules/modular_computers/file_system/programs/ntpda_msg.dm b/code/modules/modular_computers/file_system/programs/ntpda_msg.dm index e9b62a13ea03..cd28aa3923f4 100644 --- a/code/modules/modular_computers/file_system/programs/ntpda_msg.dm +++ b/code/modules/modular_computers/file_system/programs/ntpda_msg.dm @@ -124,18 +124,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'), 10, FALSE) else - playsound(holder, 'sound/machines/twobeep_high.ogg', 6, FALSE) + playsound(holder, 'sound/machines/twobeep_high.ogg', 10, 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("Message from [sender.username], \"[message]\""), 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("Message from [sender.username], \"[message]\""), null, null, 1) return TRUE From b8e1493d9dd257bd278dd6f2b1ea347742e4497c Mon Sep 17 00:00:00 2001 From: Bop Date: Wed, 31 Aug 2022 22:39:00 +0700 Subject: [PATCH 2/2] Update ntpda_msg.dm --- .../modular_computers/file_system/programs/ntpda_msg.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/modular_computers/file_system/programs/ntpda_msg.dm b/code/modules/modular_computers/file_system/programs/ntpda_msg.dm index cd28aa3923f4..ba2a9efd76f7 100644 --- a/code/modules/modular_computers/file_system/programs/ntpda_msg.dm +++ b/code/modules/modular_computers/file_system/programs/ntpda_msg.dm @@ -124,9 +124,9 @@ 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'), 10, FALSE) + playsound(holder, pick('sound/machines/twobeep_voice1.ogg', 'sound/machines/twobeep_voice2.ogg'), 50, FALSE) else - playsound(holder, 'sound/machines/twobeep_high.ogg', 10, 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)