mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 07:59:01 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user