/tg/ Station 13 - Modules - TypesDefine Details

code/datums/ai/basic_mobs/target_sources/oview_single_type.dm

OVIEW_TARGET_SOURCEGathers all targets of a type in the area. This is a define so we can do cheap loops over oview with astype. Yeah it sucks. You can do /datum/target_source/oview_single_type/[sub_type] to use it
/datum/target_source/oview_single_typeAbstract parent for target sources that return every nearby atom of a single fixed type. Subtypes are generated with the OVIEW_TARGET_SOURCE() macro above.

Define Details

OVIEW_TARGET_SOURCE

Gathers all targets of a type in the area. This is a define so we can do cheap loops over oview with astype. Yeah it sucks. You can do /datum/target_source/oview_single_type/[sub_type] to use it