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
@@ -59,8 +59,8 @@
return
var/area/A = get_area(src)
if(A)
if(A.powered(EQUIP) && assembly.give_power(power_amount))
A.use_power_oneoff(power_amount, EQUIP)
if(A.powered(AREA_USAGE_EQUIP) && assembly.give_power(power_amount))
A.use_power_oneoff(power_amount, AREA_USAGE_EQUIP)
// give_power() handles CELLRATE on its own.
// For implants.