mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +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:
@@ -27,7 +27,7 @@
|
||||
return
|
||||
if(dummy_active || !isitem(target))
|
||||
return
|
||||
playsound(get_turf(src), 'sound/weapons/flash.ogg', 100, 1, -6)
|
||||
playsound(get_turf(src), 'sound/weapons/flash.ogg', 100, TRUE, -6)
|
||||
to_chat(user, "<span class='notice'>Scanned [target].</span>")
|
||||
saved_name = target.name
|
||||
saved_desc = target.desc
|
||||
@@ -43,7 +43,7 @@
|
||||
/obj/item/chameleon_counterfeiter/proc/matter_toggle(mob/living/user)
|
||||
if(!can_use || !saved_name)
|
||||
return
|
||||
playsound(get_turf(src), 'sound/effects/pop.ogg', 100, 1, -6)
|
||||
playsound(get_turf(src), 'sound/effects/pop.ogg', 100, TRUE, -6)
|
||||
if(dummy_active)
|
||||
matter_deactivate()
|
||||
to_chat(user, "<span class='notice'>You deactivate [src].</span>")
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
return
|
||||
if(!active_dummy)
|
||||
if(isitem(target) && !istype(target, /obj/item/disk/nuclear))
|
||||
playsound(get_turf(src), 'sound/weapons/flash.ogg', 100, 1, -6)
|
||||
playsound(get_turf(src), 'sound/weapons/flash.ogg', 100, TRUE, -6)
|
||||
to_chat(user, "<span class='notice'>Scanned [target].</span>")
|
||||
saved_item = target.type
|
||||
saved_icon = target.icon
|
||||
@@ -55,7 +55,7 @@
|
||||
return
|
||||
if(active_dummy)
|
||||
eject_all()
|
||||
playsound(get_turf(src), 'sound/effects/pop.ogg', 100, 1, -6)
|
||||
playsound(get_turf(src), 'sound/effects/pop.ogg', 100, TRUE, -6)
|
||||
QDEL_NULL(active_dummy)
|
||||
to_chat(usr, "<span class='notice'>You deactivate [src].</span>")
|
||||
var/obj/effect/overlay/T = new/obj/effect/overlay(get_turf(src))
|
||||
@@ -64,7 +64,7 @@
|
||||
spawn(8)
|
||||
qdel(T)
|
||||
else
|
||||
playsound(get_turf(src), 'sound/effects/pop.ogg', 100, 1, -6)
|
||||
playsound(get_turf(src), 'sound/effects/pop.ogg', 100, TRUE, -6)
|
||||
var/obj/O = new saved_item(src)
|
||||
if(!O)
|
||||
return
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
if(!admins_warned)
|
||||
admins_warned = TRUE
|
||||
message_admins("Power sink at ([x],[y],[z] - <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>) is 95% full. Explosion imminent.")
|
||||
playsound(src, 'sound/effects/screech.ogg', 100, 1, 1)
|
||||
playsound(src, 'sound/effects/screech.ogg', 100, TRUE, 1)
|
||||
|
||||
if(power_drained >= max_power)
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
if(user)
|
||||
to_chat(user, "<span class='notice'>Locked In</span>")
|
||||
new /obj/machinery/power/singularity_beacon/syndicate( user.loc )
|
||||
playsound(src, 'sound/effects/pop.ogg', 100, 1, 1)
|
||||
playsound(src, 'sound/effects/pop.ogg', 100, TRUE, 1)
|
||||
user.drop_item()
|
||||
qdel(src)
|
||||
|
||||
@@ -132,7 +132,7 @@
|
||||
if(user)
|
||||
to_chat(user, "<span class='notice'>Locked In</span>")
|
||||
new bomb(user.loc)
|
||||
playsound(src, 'sound/effects/pop.ogg', 100, 1, 1)
|
||||
playsound(src, 'sound/effects/pop.ogg', 100, TRUE, 1)
|
||||
user.drop_item()
|
||||
qdel(src)
|
||||
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
return
|
||||
|
||||
if(emagged)
|
||||
playsound(get_turf(src), 'sound/voice/binsult.ogg', 100, 1, vary = 0)//hueheuheuheuheuheuhe
|
||||
playsound(get_turf(src), 'sound/voice/binsult.ogg', 100, TRUE, vary = 0)//hueheuheuheuheuheuhe
|
||||
user.visible_message("<span class='warning'>[user]'s [name] gurgles, \"FUCK YOUR CUNT YOU SHIT EATING CUNT TILL YOU ARE A MASS EATING SHIT CUNT. EAT PENISES IN YOUR FUCK FACE AND SHIT OUT ABORTIONS TO FUCK UP SHIT IN YOUR ASS YOU COCK FUCK SHIT MONKEY FROM THE DEPTHS OF SHIT\"</span>")
|
||||
else
|
||||
playsound(get_turf(src), 'sound/voice/halt.ogg', 100, 1, vary = 0)
|
||||
playsound(get_turf(src), 'sound/voice/halt.ogg', 100, TRUE, vary = 0)
|
||||
user.visible_message("<span class='warning'>[user]'s [name] rasps, \"Halt! Security!\"</span>")
|
||||
|
||||
next_use_time = world.time + USE_COOLDOWN
|
||||
|
||||
Reference in New Issue
Block a user