mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +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:
@@ -16,7 +16,7 @@
|
||||
opacity = FALSE
|
||||
|
||||
/obj/structure/curtain/attack_hand(mob/user)
|
||||
playsound(get_turf(loc), "rustle", 15, 1, -5)
|
||||
playsound(get_turf(loc), "rustle", 15, TRUE, -5)
|
||||
toggle()
|
||||
..()
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
depotarea.activate_self_destruct("Fusion reactor cracked open. Core loose!", TRUE)
|
||||
var/obj/effect/overload/O = new /obj/effect/overload(get_turf(src))
|
||||
if(containment_failure)
|
||||
playsound(loc, 'sound/machines/alarm.ogg', 100, 0, 0)
|
||||
playsound(loc, 'sound/machines/alarm.ogg', 100, FALSE, 0)
|
||||
O.deliberate = TRUE
|
||||
O.max_cycles = 6
|
||||
if(!skip_qdel)
|
||||
|
||||
@@ -263,7 +263,7 @@
|
||||
buckled_mob.Weaken(12 SECONDS)
|
||||
buckled_mob.Stuttering(12 SECONDS)
|
||||
buckled_mob.take_organ_damage(10)
|
||||
playsound(loc, 'sound/weapons/punch1.ogg', 50, 1, -1)
|
||||
playsound(loc, 'sound/weapons/punch1.ogg', 50, TRUE, -1)
|
||||
buckled_mob.visible_message("<span class='danger'>[buckled_mob] crashed into [A]!</span>")
|
||||
|
||||
/obj/structure/chair/office/light
|
||||
@@ -545,7 +545,7 @@
|
||||
if(C.health < C.maxHealth*0.5)
|
||||
C.Weaken(12 SECONDS)
|
||||
C.Stuttering(12 SECONDS)
|
||||
playsound(src.loc, 'sound/weapons/punch1.ogg', 50, 1, -1)
|
||||
playsound(src.loc, 'sound/weapons/punch1.ogg', 50, TRUE, -1)
|
||||
smash(user)
|
||||
|
||||
/obj/item/chair/stool/attack(mob/M as mob, mob/user as mob)
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
|
||||
occupant.Weaken(12 SECONDS)
|
||||
occupant.Stuttering(12 SECONDS)
|
||||
playsound(src.loc, 'sound/weapons/punch1.ogg', 50, 1, -1)
|
||||
playsound(src.loc, 'sound/weapons/punch1.ogg', 50, TRUE, -1)
|
||||
if(isliving(A))
|
||||
var/mob/living/victim = A
|
||||
victim.Weaken(12 SECONDS)
|
||||
|
||||
@@ -247,7 +247,7 @@
|
||||
if(slippery)
|
||||
step_away(I, user)
|
||||
visible_message("<span class='warning'>[I] slips right off [src]!</span>")
|
||||
playsound(loc, 'sound/misc/slip.ogg', 50, 1, -1)
|
||||
playsound(loc, 'sound/misc/slip.ogg', 50, TRUE, -1)
|
||||
else //Don't want slippery moving tables to have the item attached to them if it slides off.
|
||||
item_placed(I)
|
||||
else
|
||||
@@ -805,7 +805,7 @@
|
||||
if(direct & (direct - 1)) // This represents a diagonal movement, which is split into multiple cardinal movements. We'll handle moving the items on the cardinals only.
|
||||
return
|
||||
|
||||
playsound(loc, pick('sound/items/cartwheel1.ogg', 'sound/items/cartwheel2.ogg'), 100, 1, ignore_walls = FALSE)
|
||||
playsound(loc, pick('sound/items/cartwheel1.ogg', 'sound/items/cartwheel2.ogg'), 100, TRUE, ignore_walls = FALSE)
|
||||
|
||||
var/atom/movable/held
|
||||
for(var/held_uid in held_items)
|
||||
|
||||
Reference in New Issue
Block a user