Convert a fuck ton of machines to Initialize() (#2985)

Needs testing, but shouldn't break anything. Also adds Destroy() to the SMES base class.
This commit is contained in:
Lohikar
2017-07-14 20:08:59 +03:00
committed by skull132
parent 12ccc4e7a7
commit b5472e50f4
43 changed files with 104 additions and 116 deletions
+4 -4
View File
@@ -8,8 +8,8 @@
var/power_loss = 2
var/input_power_multiplier = 1
/obj/machinery/power/tesla_coil/New()
..()
/obj/machinery/power/tesla_coil/Initialize()
. = ..()
component_parts = list()
// component_parts += new /obj/item/weapon/circuitboard/tesla_coil(null)
component_parts += new /obj/item/weapon/stock_parts/capacitor(null)
@@ -62,8 +62,8 @@
anchored = 0
density = 1
/obj/machinery/power/grounding_rod/New()
..()
/obj/machinery/power/grounding_rod/Initialize()
. = ..()
component_parts = list()
// component_parts += new /obj/item/weapon/circuitboard/grounding_rod(null)
component_parts += new /obj/item/weapon/stock_parts/capacitor(null)