| /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_range | The exact same as get_hearers_in_view, but not limited by visibility. Does no filtering for traits, line of sight, or any other such criteria.
Filtering is intended to be done by whatever calls this function. |
|---|
| /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/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/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/border_diamond_range_turfs | Returns the list of turfs around the outside of a center based on RANGE_TURFS() |
|---|
| /proc/slice_off_turfs | Returns a slice of a list of turfs, defined by the ones that are inside the inner/outer angle's bounds |
|---|
| /proc/get_hear | Like view but bypasses luminosity check |
|---|
| /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/get_adjacent_turfs | Returns a list of all turfs that are adjacent to the center atom's turf, clear the list of nulls at the end. |
|---|
| /proc/turf_peel | Behaves like the orange() proc, but only looks in the outer range of the function (The "peel" of the orange).
This is useful for things like checking if a mob is in a certain range, but not within a smaller range. |
|---|
| /proc/diagonally_blocked | check if 2 diagonal turfs are blocked by dense objects |
|---|