Yogstation 13 - Modules - TypesVar Details - Proc Details

/datum/component/action_item_overlay

Apply to an action to allow it to take an item and apply it as an overlay of the action button

Vars

item_appearanceThe appearance of the item we've applied
item_callbackCallback that dictates what item the component uses to apply as an overlay.
item_refWeakref to what item the component uses to apply as an overlay.

Procs

on_overlays_appliedSignal proc for COMSIG_ACTION_OVERLAY_APPLY, applies the item appearance if possible.

Var Details

item_appearance

The appearance of the item we've applied

item_callback

Callback that dictates what item the component uses to apply as an overlay.

item_ref

Weakref to what item the component uses to apply as an overlay.

Proc Details

on_overlays_applied

Signal proc for COMSIG_ACTION_OVERLAY_APPLY, applies the item appearance if possible.