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 | |
devour | Consumes the light on the target, permanently rendering it incapable of producing light |
---|---|
eat_lights | Makes the light eater consume all of the lights attached to the target atom. |
on_afterattack | Called when a target is attacked with a source item |
on_expose_atom | Called when a source reagent exposes a target atom |
on_hit_reaction | Called when a source object is used to block a thrown object, projectile, or attack |
on_projectile_hit | Called when a source projectile strikes a target atom |
on_throw_impact | Called when a movable source is thrown and strikes a target |
table_buffet | Aggregates 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:
- morsel: The light-producing thing we are eating
- eater: The light eater eating the morsel. This is the datum that the element is attached to that started this chain.
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:
- source: The item what was used to strike the target
- target: The atom being struck by the user with the source
- user: The mob using the source to strike the target
- proximity: Whether the strike was in melee range so you can't eat lights from cameras
on_expose_atom
Called when a source reagent exposes a target atom
Arguments:
- source: The reagents that exposed the target atom
- target: The atom that was exposed to the light reater reagents
- reac_volume: The volume of the reagents the target was exposed to
on_hit_reaction
Called when a source object is used to block a thrown object, projectile, or attack
Arguments:
- source: The item what was used to block the target
- owner: The mob that blocked the target with the source
- hitby: The movable that was blocked by the owner with the source
- attack_text: The text tring that will be used to report that the target was blocked
- attack_type: The type of attack that was blocked
on_projectile_hit
Called when a source projectile strikes a target atom
Arguments:
- source: The projectile striking the target atom
- firer: The movable atom that fired the projectile
- target: The atom that was struck by the projectile
- angle: The angle the target was struck at
on_throw_impact
Called when a movable source is thrown and strikes a target
Arugments:
- source: The movable atom that was thrown
- hit_atom: The target atom that was struck by the source in flight
- thrownthing: A datum containing the information for the throw
table_buffet
Aggregates a list of the light sources attached to the target atom.
Arguments: