code/modules/power/exterior_lights.dm 
| /obj/machinery/light/exterior | Exterior lights use the powernet of the wall they're installed on, not the tile they're placed on. This allows them to be in a different area than the area that powers them, making it possible to have a light "outside" a structure that shares its power state. |
|---|