[MIRROR] Machines now store their components in their contents. (#966)

* Machines now store their components in their contents. (#52970)

Machine parts are now located in the machine instead of nullspace.

* Machines now store their components in their contents.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
This commit is contained in:
SkyratBot
2020-09-24 20:33:40 +02:00
committed by GitHub
parent 7c4299cdb9
commit ef28f115cc
25 changed files with 213 additions and 119 deletions
+2 -1
View File
@@ -5,6 +5,8 @@
density = TRUE
use_power = NO_POWER_USE
circuit = /obj/item/circuitboard/machine/generator
var/obj/machinery/atmospherics/components/binary/circulator/cold_circ
var/obj/machinery/atmospherics/components/binary/circulator/hot_circ
@@ -19,7 +21,6 @@
connect_to_network()
SSair.start_processing_machine(src)
update_icon()
component_parts = list(new /obj/item/circuitboard/machine/generator)
/obj/machinery/power/generator/ComponentInitialize()
. = ..()