/tg/ Station 13 - Modules - TypesVar Details - Proc Details

vent_scrubber

Vars

adjacent_turfsList of the turfs near the scrubber, used for widenet
assigned_areaThe area this scrubber is assigned to
filter_typesThe list of gases we are filtering
scrubbingThe mode of the scrubber (ATMOS_DIRECTION_SCRUBBING or ATMOS_DIRECTION_SIPHONING)
volume_rateRate of the scrubber to remove gases from the air
widenetis this scrubber acting on the 3x3 area around it.

Procs

check_turfswe populate a list of turfs with nonatmos-blocked cardinal turfs AND diagonal turfs that can share atmos with both of the cardinal turfs
remove_filtersremove a gas or list of gases from our filter_types.used so that the scrubber can check if its supposed to be processing after each change

Var Details

adjacent_turfs

List of the turfs near the scrubber, used for widenet

assigned_area

The area this scrubber is assigned to

filter_types

The list of gases we are filtering

scrubbing

The mode of the scrubber (ATMOS_DIRECTION_SCRUBBING or ATMOS_DIRECTION_SIPHONING)

volume_rate

Rate of the scrubber to remove gases from the air

widenet

is this scrubber acting on the 3x3 area around it.

Proc Details

check_turfs

we populate a list of turfs with nonatmos-blocked cardinal turfs AND diagonal turfs that can share atmos with both of the cardinal turfs

remove_filters

remove a gas or list of gases from our filter_types.used so that the scrubber can check if its supposed to be processing after each change