orbit_menu
Vars | |
mob_allowed_typecache | mobs worth orbiting. Because spaghetti, all mobs have the point of interest, but only some are allowed to actually show up. this obviously should be changed in the future, so we only add mobs as POI if they actually are interesting, and we don't use a typecache. |
---|---|
Procs | |
get_antag_data | Helper function to get threat type, group, overrides for job and icon |
get_currently_orbiting | Helper to get the current thing we're orbiting (if any) |
get_living_data | Helper function to get job / icon / health data for a living mob |
get_misc_data | Gets a list: Misc data and whether it's critical. Handles all snowflakey type cases |
show | Shows the UI to the specified user. |
validate_mob_poi | Helper POI validation function passed as a callback to various SSpoints_of_interest procs. |
Var Details
mob_allowed_typecache
mobs worth orbiting. Because spaghetti, all mobs have the point of interest, but only some are allowed to actually show up. this obviously should be changed in the future, so we only add mobs as POI if they actually are interesting, and we don't use a typecache.
Proc Details
get_antag_data
Helper function to get threat type, group, overrides for job and icon
get_currently_orbiting
Helper to get the current thing we're orbiting (if any)
get_living_data
Helper function to get job / icon / health data for a living mob
get_misc_data
Gets a list: Misc data and whether it's critical. Handles all snowflakey type cases
show
Shows the UI to the specified user.
validate_mob_poi
Helper POI validation function passed as a callback to various SSpoints_of_interest procs.
Provides extended validation above and beyond standard, limiting mob POIs without minds or ckeys unless they're mobs, eye mobs or megafauna. Also allows exceptions for mobs that are deadchat controlled.
If they satisfy that requirement, falls back to default validation for the POI.