/tg/ Station 13 - Modules - Types — Var Details - Proc Details

detonatable_by_hammer

Vars

activatedSet before firing so multi-pellet casings cannot be triggered more than once.
backblast_flame_rangeThe radius of the directional flame backblast.
discharge_soundSound played when the casing fires.
registered_holderThe mob currently holding this casing in a hand.

Procs

activate_casingFire this casing's own projectile and apply the handling backfire.
get_live_attached_casingReturn a live casing only when it has this component.
get_selected_live_casingPick the active-hand casing first, then the other hand, considering only casings with this component.
on_casing_item_interactionHandle non-combat use of a claw hammer on the casing directly.
on_casing_requesting_contextAdd a contextual hint when hovering over a live shell with a claw hammer.
on_holder_item_interactionHandle non-combat use of a claw hammer on someone holding a live casing.
on_holder_requesting_contextAdd a contextual hint when hovering over someone holding a live shell with a claw hammer.
on_parent_droppedStop listening when the casing leaves its holder.
on_parent_equippedRegister for interactions with the mob while this casing is held in a hand.

Var Details

activated

Set before firing so multi-pellet casings cannot be triggered more than once.

backblast_flame_range

The radius of the directional flame backblast.

discharge_sound

Sound played when the casing fires.

registered_holder

The mob currently holding this casing in a hand.

Proc Details

activate_casing

Fire this casing's own projectile and apply the handling backfire.

get_live_attached_casing

Return a live casing only when it has this component.

get_selected_live_casing

Pick the active-hand casing first, then the other hand, considering only casings with this component.

on_casing_item_interaction

Handle non-combat use of a claw hammer on the casing directly.

on_casing_requesting_context

Add a contextual hint when hovering over a live shell with a claw hammer.

on_holder_item_interaction

Handle non-combat use of a claw hammer on someone holding a live casing.

on_holder_requesting_context

Add a contextual hint when hovering over someone holding a live shell with a claw hammer.

on_parent_dropped

Stop listening when the casing leaves its holder.

on_parent_equipped

Register for interactions with the mob while this casing is held in a hand.