Files
CHOMPStation2/code/datums/observation/power_change.dm
Cadyn b90f7ec922 The 515 MegaPR early downport (#7783)
Co-authored-by: Selis <selis@xynolabs.com>
Co-authored-by: Selis <sirlionfur@hotmail.de>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: SatinIsle <thesatinisle@gmail.com>
Co-authored-by: Heroman <alesha3000@list.ru>
Co-authored-by: Casey <a.roaming.shadow@gmail.com>
Co-authored-by: Raeschen <rycoop29@gmail.com>
2024-02-27 20:17:32 +01:00

24 lines
623 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, /decl/observ/area_power_change, new)
/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)