echolocation 
Vars | |
| active_images | Assoc list of world.time to atom ref to active image |
|---|---|
| background_paths | Typepache of atom types that will have an image generated on WALL_PLANE, so they stick out from the floor but they don't obstruct game objects. |
| black_white_matrix | A matrix that turns everything except #ffffff into pure blackness, used for our images (the outlines are #ffffff). |
| combined_filter | Combined typecache of all (UNCHANGING) types we want to echolocate, for faster checking. |
| deafness_check | Check every few seconds if we lost our hearing, disable sight_bypass if so (turning us really blind). |
| echo_range | Radius of our echolocation. |
| fade_in_time | Time for the image to fade in. |
| fade_out_time | Time for the image to fade out and delete itself. |
| focus | The focus action for adjusting echolocation settings. |
| highlighted_paths | Typepache of atom types that will be highlighted with an image on ABOVE_GAME_PLANE. |
| image_expiry_time | Time for the image to start fading out. |
| overlay_states | Typecache of overlay icon states to the typecache of types that get that overlay. |
| planes | List of planes we apply our filters to. |
| saved_appearances | All the saved appearances, keyed by icon-icon_state. |
Procs | |
| deafness_check | Add or remove SIGHT_BYPASS depending on if we are deaf or not |
| hud_created | If the mob had no hud when they gained echolocation we need to apply the effect now |
Var Details
active_images 
Assoc list of world.time to atom ref to active image
background_paths 
Typepache of atom types that will have an image generated on WALL_PLANE, so they stick out from the floor but they don't obstruct game objects.
black_white_matrix 
A matrix that turns everything except #ffffff into pure blackness, used for our images (the outlines are #ffffff).
combined_filter 
Combined typecache of all (UNCHANGING) types we want to echolocate, for faster checking.
deafness_check 
Check every few seconds if we lost our hearing, disable sight_bypass if so (turning us really blind).
echo_range 
Radius of our echolocation.
fade_in_time 
Time for the image to fade in.
fade_out_time 
Time for the image to fade out and delete itself.
focus 
The focus action for adjusting echolocation settings.
highlighted_paths 
Typepache of atom types that will be highlighted with an image on ABOVE_GAME_PLANE.
image_expiry_time 
Time for the image to start fading out.
overlay_states 
Typecache of overlay icon states to the typecache of types that get that overlay.
planes 
List of planes we apply our filters to.
saved_appearances 
All the saved appearances, keyed by icon-icon_state.
Proc Details
deafness_check
Add or remove SIGHT_BYPASS depending on if we are deaf or not
hud_created
If the mob had no hud when they gained echolocation we need to apply the effect now