Yogstation 13 - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/signals_area.dm

COMSIG_AREA_POWER_CHANGE! from base of area/proc/power_change(): ()
COMSIG_AREA_EXITED! from base of area/Exited(): (atom/movable/M)
COMSIG_ENTER_AREAfrom base of area/Entered(): (area/new_area). Sent to "area-sensitive" movables, see __DEFINES/traits.dm for info.
COMSIG_EXIT_AREAfrom base of area/Exited(): (area). Sent to "area-sensitive" movables, see __DEFINES/traits.dm for info.
COMSIG_ALARM_LISTENER_TRIGGEREDSent when an alarm is fired and an alarm listener has tracked onto it (alarm, area/source_area)
COMSIG_ALARM_LISTENER_CLEAREDSend when an alarm source is cleared and an alarm listener has tracked onto it (alarm_type, area/source_area)
COMSIG_ALARM_TRIGGEREDCalled when an alarm handler fires an alarm
COMSIG_ALARM_CLEAREDCalled when an alarm handler clears an alarm
COMSIG_AIRALARM_UPDATE_MODECalled when the air alarm mode is updated
COMSIG_AREA_FIRE_CHANGEDSent when an area's fire var changes: (fire_value)
COMSIG_WEATHER_BEGAN_IN_AREACalled when some weather starts in this area
COMSIG_WEATHER_ENDED_IN_AREACalled when some weather ends in this area

Define Details

COMSIG_AIRALARM_UPDATE_MODE

Called when the air alarm mode is updated

COMSIG_ALARM_CLEARED

Called when an alarm handler clears an alarm

COMSIG_ALARM_LISTENER_CLEARED

Send when an alarm source is cleared and an alarm listener has tracked onto it (alarm_type, area/source_area)

COMSIG_ALARM_LISTENER_TRIGGERED

Sent when an alarm is fired and an alarm listener has tracked onto it (alarm, area/source_area)

COMSIG_ALARM_TRIGGERED

Called when an alarm handler fires an alarm

COMSIG_AREA_EXITED

! from base of area/Exited(): (atom/movable/M)

COMSIG_AREA_FIRE_CHANGED

Sent when an area's fire var changes: (fire_value)

COMSIG_AREA_POWER_CHANGE

! from base of area/proc/power_change(): ()

COMSIG_ENTER_AREA

from base of area/Entered(): (area/new_area). Sent to "area-sensitive" movables, see __DEFINES/traits.dm for info.

COMSIG_EXIT_AREA

from base of area/Exited(): (area). Sent to "area-sensitive" movables, see __DEFINES/traits.dm for info.

COMSIG_WEATHER_BEGAN_IN_AREA

Called when some weather starts in this area

COMSIG_WEATHER_ENDED_IN_AREA

Called when some weather ends in this area