Implement Bay's SSmachinery and power usage updates, further unclogging the toilet (#13910)

This commit is contained in:
Wildkins
2022-05-16 18:50:16 +02:00
committed by GitHub
parent a18d6598e3
commit a4461a17af
296 changed files with 1662 additions and 1778 deletions
@@ -60,7 +60,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.
// For implants.
@@ -251,7 +251,7 @@
/obj/item/integrated_circuit/output/video_camera/Initialize()
. = ..()
camera = new(src)
camera = new(src, 0, TRUE, TRUE)
on_data_written()
/obj/item/integrated_circuit/output/video_camera/Destroy()
@@ -405,4 +405,4 @@
audible_message("<span class='notice'>\The [src] beeps, out of paper.</span>")
return
else
audible_message("<span class='notice'>\The [src] beeps, out of paper.</span>")
audible_message("<span class='notice'>\The [src] beeps, out of paper.</span>")