/proc/block(/atom/Start, /atom/End, StartZ, EndX, EndY, EndZ)
Usage:
block(/atom/Start, /atom/End)
Start: The lower left corner of the block.
End: The upper right corner of the block.
block(StartX, StartY, StartZ, EndX, EndY, EndZ)
Returns:
/list: A list of turfs in a 3D block

This proc allows for us to get a list of the turfs within a specified area.

for(var/turf/my_turf in block(1, 1, 1, 10, 10, 10))
    my_turf.icon_state = "green"

This will change the /atom/var/icon_state of every turf, beginning at the turf located at X = 1, Y = 1, Z = 1 and finishing at the turf located at X = 10, Y = 10 and Z = 10, to "green". This list is inclusive of the Start and End turfs.