Files
VOREStation/code/datums/observation/power_change.dm
T
Kashargul f8333a8d93 Staticpath [MDB ignore] (#19166)
* move those to static paths

* maps

* .

* .

* ugh

* .
2026-02-22 22:10:59 +01:00

24 lines
635 B
Plaintext

// Observer Pattern Implementation: Area Power Change
// Registration type: /area
//
// Raised when: An /area has a power change (the APC powers up/down or some channels are enabled/disabled)
//
// Arguments that the called proc should expect:
// /area: The area experiencing the power change
/*
GLOBAL_DATUM_INIT(apc_event, /datum/decl/observ/area_power_change, new)
/datum/decl/observ/area_power_change
name = "Area Power Change"
expected_type = /area
/********************
* Movement Handling *
********************/
*/
//Deprecated in favor of comsigs
/area/power_change()
. = ..()
SEND_SIGNAL(src,COMSIG_OBSERVER_APC)