No longer able to crawl through welded vents.

This commit is contained in:
MagmaRam
2016-11-15 20:56:58 -06:00
parent 20b6d4be57
commit 38aa0217f9
3 changed files with 3 additions and 3 deletions

View File

@@ -9,6 +9,8 @@
var/datum/pipe_network/network
var/welded = 0 //defining this here for ventcrawl stuff
New()
..()
initialize_directions = dir

View File

@@ -40,8 +40,6 @@
var/internal_pressure_bound_default = INTERNAL_PRESSURE_BOUND
var/pressure_checks_default = PRESSURE_CHECKS
var/welded = 0 // Added for aliens -- TLE
var/frequency = 1439
var/datum/radio_frequency/radio_connection

View File

@@ -81,7 +81,7 @@ var/list/ventcrawl_machinery = list(
var/atom/pipe
var/list/pipes = list()
for(var/obj/machinery/atmospherics/unary/U in range(1))
if(is_type_in_list(U,ventcrawl_machinery) && Adjacent(U))
if(is_type_in_list(U,ventcrawl_machinery) && Adjacent(U) && !U.welded)
pipes |= U
if(!pipes || !pipes.len)
to_chat(src, "There are no pipes that you can ventcrawl into within range!")