mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 00:23:29 +01:00
Makes all playsounds use bools for vary (#26183)
* Makes all playsounds use `TRUE` for vary * Same but for `FALSE`
This commit is contained in:
@@ -2089,7 +2089,7 @@
|
||||
// These smiting types are valid for all living mobs
|
||||
if("Lightning bolt")
|
||||
M.electrocute_act(5, "Lightning Bolt", flags = SHOCK_NOGLOVES)
|
||||
playsound(get_turf(M), 'sound/magic/lightningshock.ogg', 50, 1, -1)
|
||||
playsound(get_turf(M), 'sound/magic/lightningshock.ogg', 50, TRUE, -1)
|
||||
M.adjustFireLoss(75)
|
||||
M.Weaken(10 SECONDS)
|
||||
to_chat(M, "<span class='userdanger'>The gods have punished you for your sins!</span>")
|
||||
|
||||
@@ -56,7 +56,7 @@ GLOBAL_LIST_EMPTY(sounds_cache)
|
||||
|
||||
log_admin("[key_name(src)] played a local sound [S]")
|
||||
message_admins("[key_name_admin(src)] played a local sound [S]", 1)
|
||||
playsound(get_turf(src.mob), S, 50, 0, 0)
|
||||
playsound(get_turf(src.mob), S, 50, FALSE, 0)
|
||||
SSblackbox.record_feedback("tally", "admin_verb", 1, "Play Local Sound") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/proc/play_server_sound()
|
||||
|
||||
Reference in New Issue
Block a user