Pump Clunk change

clong, clong
This commit is contained in:
ReoDaProtovali
2024-11-14 02:34:14 -06:00
parent 136f9d45d4
commit 6b43f1fe7a
@@ -202,10 +202,9 @@
// expel the contents of the holder object, then delete it
// called when the holder exits the outlet
/obj/structure/disposaloutlet/industrial_feeding_tube/expel(obj/structure/disposalholder/H)
var/clunkVol = LAZYLEN(H.contents)
if(H.hasmob) //Uh oh-
clunkVol += 25
playsound(src, H.hasmob ? "clang" : "clangsmall", clamp(clunkVol, 5, H.hasmob ? 50 : 25))
playsound(src, H.hasmob ? "clang", 100)
visible_message("<span class='danger'>\The [src] loudly clunks as something large enters it's intake!")
H.active = FALSE
H.vent_gas(get_turf(src))
if(clogged)