Area tweaks (#20391)

Reworked area changes and power define channels

No player visible changes (hopefully)
This commit is contained in:
Fluffy
2025-02-16 18:53:46 +00:00
committed by GitHub
parent 186f94ff58
commit f3dab68568
49 changed files with 184 additions and 123 deletions
@@ -39,7 +39,7 @@
/obj/structure/bed/stool/chair/remote/user_buckle(mob/user)
..()
var/area/A = get_area(src)
if(!A.powered(EQUIP))
if(!A.powered(AREA_USAGE_EQUIP))
to_chat(user, SPAN_WARNING("\The [src] is not powered."))
return FALSE
if(ishuman(user))
@@ -55,7 +55,7 @@
..()
if(buckled)
var/area/A = get_area(src)
if(!A.powered(EQUIP))
if(!A.powered(AREA_USAGE_EQUIP))
user_unbuckle(buckled)
// Return to our body in the unfortunate event that we get unbuckled while plugged in