Spatial Grid Cell 
used by /datum/controller/subsystem/spatial_grid to cover every z level so that the coordinates of every turf in the world corresponds to one of these in the subsystems list of grid cells by z level. each one of these contains content lists holding all atoms meeting a certain criteria that is in our borders. these datums shouldnt have significant behavior, they should just hold data. the lists are filled and emptied by the subsystem.
Vars | |
| atmos_contents | Every atmos machine inside this cell |
|---|---|
| cell_x | Our x index in the list of cells. this is our index inside of our row list |
| cell_y | Our y index in the list of cells. this is the index of our row list inside of our z level grid |
| cell_z | Which z level we belong to, corresponding to the index of our gridmap in SSspatial_grid.grids_by_z_level |
| client_contents | Every client possessed mob inside this cell |
| dynamic_light_sources | Every dynamic light source affecting this cell Light sources have their own radius rather than static polling range, so we need to store them in multiple cells |
| hearing_contents | Every hearing sensitive movable inside this cell |
Var Details
atmos_contents 
Every atmos machine inside this cell
cell_x 
Our x index in the list of cells. this is our index inside of our row list
cell_y 
Our y index in the list of cells. this is the index of our row list inside of our z level grid
cell_z 
Which z level we belong to, corresponding to the index of our gridmap in SSspatial_grid.grids_by_z_level
client_contents 
Every client possessed mob inside this cell
dynamic_light_sources 
Every dynamic light source affecting this cell Light sources have their own radius rather than static polling range, so we need to store them in multiple cells
hearing_contents 
Every hearing sensitive movable inside this cell