Special_clothing_overlay element

Handles special clothing overlays for humans that cannot use the standing overlays system Example uses include the use of emissives and similar
primarily functions through child overrides to specify what should be applied when, see the Attach and [/datum/element/special_clothing_overlay/proc/get_overlay_icon()] (get_overlay_icon) procs for details
Vars | |
overlay_to_apply | The image/icon/mutable_appearance we arre going to be applying to here |
---|---|
target_layer | when this layer is updated on the wearer, overlay_to_apply will be applied/removed with it |
Procs | |
add_as_overlay | Signal handler for adding the overlay to the wearer |
dropped | Signal handler for when the owner is taken off |
equipped | Called on owner equip, sets it up to update the wearers icon |
get_overlay_icon | Fetches the special overlay we are going to be applying |
remove_as_overlay | Signal handler for removing the overlay from the wearer |
Var Details
overlay_to_apply

The image/icon/mutable_appearance we arre going to be applying to here
target_layer

when this layer is updated on the wearer, overlay_to_apply will be applied/removed with it
Proc Details
add_as_overlay
Signal handler for adding the overlay to the wearer
dropped
Signal handler for when the owner is taken off
equipped
Called on owner equip, sets it up to update the wearers icon
get_overlay_icon
Fetches the special overlay we are going to be applying
remove_as_overlay
Signal handler for removing the overlay from the wearer