/tg/ Station 13 - Modules - Types

code/datums/components/dart_insert.dm

/datum/component/dart_insertComponent for allowing items to be inserted into foam darts. The parent can register signal handlers for COMSIG_DART_INSERT_ADDED, COMSIG_DART_INSERT_REMOVED to define custom behavior for when the item is added to/removed from a dart, and COMSIG_DART_INSERT_GET_VAR_MODIFIERS to define the modifications the item makes to the vars of the fired projectile.