mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Get it together (#19444)
This commit is contained in:
@@ -38,6 +38,11 @@
|
||||
qdel(parent)
|
||||
parent = null
|
||||
|
||||
/obj/machinery/atmospherics/pipe/returnPipenet(obj/machinery/atmospherics/A)
|
||||
if(A)
|
||||
return // It's called by a moving mob that's already in the pipenet
|
||||
return parent
|
||||
|
||||
/obj/machinery/atmospherics/pipe/detailed_examine()
|
||||
return "This pipe, and all other pipes, can be connected or disconnected by a wrench. The internal pressure of the pipe must \
|
||||
be below 300 kPa to do this. More pipes can be obtained from the pipe dispenser.<br> \
|
||||
|
||||
@@ -548,7 +548,10 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
|
||||
return
|
||||
|
||||
/mob/living/update_pipe_vision(obj/machinery/atmospherics/target_move)
|
||||
if(pipes_shown.len && !(target_move))
|
||||
if(!client)
|
||||
pipes_shown.Cut()
|
||||
return
|
||||
if(length(pipes_shown) && !target_move)
|
||||
if(!is_ventcrawling(src))
|
||||
remove_ventcrawl()
|
||||
else
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
if(ranged_ability && client)
|
||||
ranged_ability.remove_mousepointer(client)
|
||||
..()
|
||||
update_pipe_vision()
|
||||
if(mind)
|
||||
if(!key) //key and mind have become seperated. I believe this is for when a staff member aghosts.
|
||||
mind.active = FALSE //This is to stop say, a mind.transfer_to call on a corpse causing a ghost to re-enter its body.
|
||||
|
||||
Reference in New Issue
Block a user