/obj/machinery/atmospherics/components/unary/airlock_pump | The pump looks up for the airlocks automatically based on airlock_pump_distance_limit and airlock_group_distance_limit values.
When placed, the dir value (direction where the pipes are coming from) is considered as a direction towards the station (internal). The opposite direction is external.
The airlock then tries to find airlocks or walls towards these directions until airlock_pump_distance_limit number of tiles reached.
When it finds a valid object, then it tries to find airlocks, in directions perpendicular to the found tiles.
And then adds them to the corresponding group (external/internal) until airlock_group_distance_limit number of tiles reached |
---|