/turf | Any floor or wall. What makes up the station and the rest of the map. |
---|
/mob/oranges_ear | |
---|
/proc/get_hearers_in_view | returns every hearaing movable in view to the turf of source not taking into account lighting
useful when you need to maintain always being able to hear something if a sound is emitted from it and you can see it (and youre in range).
otherwise this is just a more expensive version of get_hearers_in_LOS() |
---|
/proc/get_hearers_in_LOS | Returns a list of movable atoms that are hearing sensitive in view_radius and line of sight to source
the majority of the work is passed off to the spatial grid if view_radius > 0
because view() isnt a raycasting algorithm, this does not hold symmetry to it. something in view might not be hearable with this.
if you want that use get_hearers_in_view() - however thats significantly more expensive |
---|
/proc/get_hearers_in_radio_ranges | Returns an associative list-of-lists of radio : hearers |
---|
/proc/inLineOfSight | Calculate if two atoms are in sight, returns TRUE or FALSE |
---|
/proc/circle_range | Returns all atoms present in a circle around the center |
---|
/proc/circle_view | Returns all atoms present in a circle around the center but uses view() instead of range() (Currently not used) |
---|
/proc/get_dist_euclidean | Returns the distance between two atoms |
---|
/proc/get_dist_manhattan | Returns the manhattan distance between two atoms. Returns INFINITY if either are not on a turf, for BYOND get_dist() parity. |
---|
/proc/circle_range_turfs | Returns a list of turfs around a center based on RANGE_TURFS() |
---|
/proc/circle_view_turfs | Returns a list of turfs around a center based on view() |
---|
/proc/get_bbox_of_atoms | Get a bounding box of a list of atoms. |
---|
/proc/get_hear | Like view but bypasses luminosity check |
---|
/proc/get_open_turf_in_dir | Returns the open turf next to the center in a specific direction |
---|
/proc/get_adjacent_open_turfs | Returns a list with all the adjacent open turfs. |
---|
/proc/get_adjacent_open_areas | Returns a list with all the adjacent areas by getting the adjacent open turfs |
---|
/proc/get_areas_in_range | Returns a list with the names of the areas around a center at a certain distance
Returns the local area if no distance is indicated
Returns an empty list if the center is null |
---|
/proc/get_adjacent_areas | Returns a list of all areas that are adjacent to the center atom's area, clear the list of nulls at the end. |
---|
/proc/alone_in_area | Checks if the mob provided (must_be_alone) is alone in an area |
---|