Merge pull request #7405 from VOREStation/vplk-static-machinery-power

Static Machinery Power
This commit is contained in:
Aronai Sieyes
2020-04-24 21:06:52 -04:00
committed by GitHub
16 changed files with 312 additions and 145 deletions

View File

@@ -160,7 +160,7 @@
var/area/A = get_area(src)
if(A)
if(A.powered(EQUIP) && assembly.give_power(power_amount))
A.use_power(power_amount, EQUIP)
A.use_power_oneoff(power_amount, EQUIP)
// give_power() handles CELLRATE on its own.
// Interacts with the powernet.