Yogstation 13 - Modules - TypesProc Details

/datum/element/light_eater

Makes anything it attaches to capable of permanently removing something's ability to produce light.

The temporary equivalent is /datum/component/light_eater

Procs

devourConsumes the light on the target, permanently rendering it incapable of producing light
eat_lightsMakes the light eater consume all of the lights attached to the target atom.
on_afterattackCalled when a target is attacked with a source item
on_hit_reactionCalled when a source object is used to block a thrown object, projectile, or attack
on_projectile_hitCalled when a produced projectile strikes a target atom
on_projectile_self_hitCalled when a source projectile strikes a target atom
on_throw_impactCalled when a movable source is thrown and strikes a target
table_buffetAggregates a list of the light sources attached to the target atom.

Proc Details

devour

Consumes the light on the target, permanently rendering it incapable of producing light

Arguments:

eat_lights

Makes the light eater consume all of the lights attached to the target atom.

Arguments:

on_afterattack

Called when a target is attacked with a source item

Arguments:

on_hit_reaction

Called when a source object is used to block a thrown object, projectile, or attack

Arguments:

on_projectile_hit

Called when a produced projectile strikes a target atom

Arguments:

on_projectile_self_hit

Called when a source projectile strikes a target atom

Arguments:

on_throw_impact

Called when a movable source is thrown and strikes a target

Arugments:

table_buffet

Aggregates a list of the light sources attached to the target atom.

Arguments: