Yogstation 13 - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/signals_janitor.dm

COMSIG_COMPONENT_CLEAN_ACTCalled on an object to "clean it", such as removing blood decals/overlays, etc. The clean types bitfield is sent with it. Return TRUE if any cleaning was necessary and thus performed.
COMPONENT_CLEANEDReturned by cleanable components when they are cleaned.
COMSIG_VACUUM_BAG_ATTACHCalled on a bag being attached to a vacuum parent
COMSIG_VACUUM_BAG_DETACHCalled on a bag being detached from a vacuum parent
COMSIG_TURF_IS_WET(): Returns bitflags of wet values.
COMSIG_TURF_MAKE_DRY(max_strength, immediate, duration_decrease = INFINITY): Returns bool.

Define Details

COMPONENT_CLEANED

Returned by cleanable components when they are cleaned.

COMSIG_COMPONENT_CLEAN_ACT

Called on an object to "clean it", such as removing blood decals/overlays, etc. The clean types bitfield is sent with it. Return TRUE if any cleaning was necessary and thus performed.

COMSIG_TURF_IS_WET

(): Returns bitflags of wet values.

COMSIG_TURF_MAKE_DRY

(max_strength, immediate, duration_decrease = INFINITY): Returns bool.

COMSIG_VACUUM_BAG_ATTACH

Called on a bag being attached to a vacuum parent

COMSIG_VACUUM_BAG_DETACH

Called on a bag being detached from a vacuum parent