mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-17 10:03:50 +01:00
(restores) CLONG CLONG (#17336)
This commit is contained in:
@@ -640,22 +640,22 @@
|
||||
|
||||
|
||||
// called when player tries to move while in a pipe
|
||||
/obj/structure/disposalholder/relaymove(mob/user as mob)
|
||||
if(!istype(user,/mob/living))
|
||||
/obj/structure/disposalholder/relaymove(mob/user)
|
||||
if(!istype(user, /mob/living))
|
||||
return
|
||||
|
||||
var/mob/living/U = user
|
||||
|
||||
if(U.stat || U.last_special <= world.time)
|
||||
if(U.stat || world.time <= U.last_special)
|
||||
return
|
||||
|
||||
U.last_special = world.time+100
|
||||
U.last_special = world.time + 100
|
||||
|
||||
if(src.loc)
|
||||
for(var/mob/M in hearers(src.loc.loc))
|
||||
if(loc)
|
||||
for(var/mob/M in hearers(loc.loc))
|
||||
to_chat(M, "<FONT size=[max(0, 5 - get_dist(src, M))]>CLONG, clong!</FONT>")
|
||||
|
||||
playsound(src.loc, 'sound/effects/clang.ogg', 50, 0, 0)
|
||||
playsound(loc, 'sound/effects/clang.ogg', 50, 0, 0)
|
||||
|
||||
// called to vent all gas in holder to a location
|
||||
/obj/structure/disposalholder/proc/vent_gas(atom/location)
|
||||
|
||||
Reference in New Issue
Block a user