mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
POLARIS: Ventcrawling assistance
This commit is contained in:
@@ -35,6 +35,7 @@ var/list/ventcrawl_machinery = list(
|
||||
if(is_ventcrawling && istype(loc, /obj/machinery/atmospherics)) //attach us back into the pipes
|
||||
remove_ventcrawl()
|
||||
add_ventcrawl(loc)
|
||||
client.screen += global_hud.centermarker
|
||||
|
||||
/mob/living/simple_animal/slime/can_ventcrawl()
|
||||
if(victim)
|
||||
@@ -182,6 +183,8 @@ var/list/ventcrawl_machinery = list(
|
||||
A.pipe_image = image(A, A.loc, layer = 20, dir = A.dir)
|
||||
pipes_shown += A.pipe_image
|
||||
client.images += A.pipe_image
|
||||
if(client)
|
||||
client.screen += global_hud.centermarker
|
||||
|
||||
/mob/living/proc/remove_ventcrawl()
|
||||
is_ventcrawling = 0
|
||||
@@ -189,6 +192,7 @@ var/list/ventcrawl_machinery = list(
|
||||
if(client)
|
||||
for(var/image/current_image in pipes_shown)
|
||||
client.images -= current_image
|
||||
client.screen -= global_hud.centermarker
|
||||
client.eye = src
|
||||
|
||||
pipes_shown.len = 0
|
||||
Reference in New Issue
Block a user