mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 04:57:57 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user