Skip to content

Commit

Permalink
add(sound): add megaphone sound
Browse files Browse the repository at this point in the history
Cool megaphone sound to draw even more attention.
  • Loading branch information
P4elique committed Sep 30, 2023
1 parent 1c0b3a5 commit 20f8f10
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/game/objects/items/devices/megaphone.dm
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
/obj/item/device/megaphone/proc/speak(mob/living/user, message, emagged = FALSE)
for(var/mob/O in (viewers(user)))
O.show_message("<B>[user]</B> broadcasts, [FONT_GIANT("\"[emagged ? pick(insultmsg) : message]\"")]", AUDIBLE_MESSAGE)
playsound(src, 'sound/items/megaphone.ogg', 50, 0, 1)
if(O.get_preference_value(/datum/client_preference/runechat) == GLOB.PREF_YES && !O.is_deaf())
O.create_chat_message(O, message, FALSE, "big")
for(var/obj/item/device/radio/intercom/I in view(3, user))
Expand Down
Binary file added sound/items/megaphone.ogg
Binary file not shown.

0 comments on commit 20f8f10

Please sign in to comment.