mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 06:40:08 +01:00
[MIRROR] Ventcrawler fixes (#12879)
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
This commit is contained in:
co-authored by
Will
parent
8cb8ddcc4c
commit
5a2ca24168
@@ -45,6 +45,15 @@
|
||||
..()
|
||||
update_icon()
|
||||
|
||||
/obj/machinery/atmospherics/pipe/simple/visible/universal/relaymove(mob/living/user, direction)
|
||||
if(initialize_directions & direction)
|
||||
return ..()
|
||||
if((NORTH|EAST) & direction)
|
||||
user.change_ventcrawl_layer(user.ventcrawl_layer + 1)
|
||||
if((SOUTH|WEST) & direction)
|
||||
user.change_ventcrawl_layer(user.ventcrawl_layer - 1)
|
||||
user.setMoveCooldown(0.25 SECONDS) // So this doesn't instantly slam through all of them
|
||||
|
||||
//
|
||||
// Universal Pipe Adapter - Designed for connecting scrubbers, normal, and supply pipes together.
|
||||
// Hidden varient
|
||||
@@ -87,6 +96,14 @@
|
||||
..()
|
||||
update_icon()
|
||||
|
||||
/obj/machinery/atmospherics/pipe/simple/hidden/universal/relaymove(mob/living/user, direction)
|
||||
if(initialize_directions & direction)
|
||||
return ..()
|
||||
if((NORTH|EAST) & direction)
|
||||
user.change_ventcrawl_layer(user.ventcrawl_layer + 1)
|
||||
if((SOUTH|WEST) & direction)
|
||||
user.change_ventcrawl_layer(user.ventcrawl_layer - 1)
|
||||
user.setMoveCooldown(0.25 SECONDS) // So this doesn't instantly slam through all of them
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Shared universal pipe adaptor procs
|
||||
|
||||
Reference in New Issue
Block a user