Removes a great amount of machinery copypasta with circuitboards.

Also changes New -> Initialize in most of them.
renamed: `code/game/machinery/computer/computer.dm` -> `code/game/machinery/computer/_computer.dm`
renamed: `code/game/machinery/machinery.dm` -> `code/game/machinery/_machinery.dm`
Moved all circuitboards to a new folder at `code/game/objects/items/weapons/circuitboards`
This commit is contained in:
Lzimann
2017-08-06 14:11:37 -03:00
parent 79bad5c881
commit 58d0f12c5c
135 changed files with 1985 additions and 2181 deletions
+7 -3
View File
@@ -10,9 +10,13 @@
var/admin_controlled
var/no_destination_swap = 0
/obj/machinery/computer/shuttle/Initialize(mapload, obj/item/weapon/circuitboard/computer/shuttle/C)
. = ..()
if(istype(C))
/obj/machinery/computer/shuttle/Initialize()
..()
return INITIALIZE_HINT_LATELOAD
/obj/machinery/computer/shuttle/LateInitialize()
if(istype(circuit, /obj/item/weapon/circuitboard/computer/shuttle))
var/obj/item/weapon/circuitboard/computer/shuttle/C = circuit
possible_destinations = C.possible_destinations
shuttleId = C.shuttleId