Initialize fixing (#17279)

* Initialoize fixing

* diff fix

* add init grep test

* fixed missed ones

* .

* some more

* ,
This commit is contained in:
Kashargul
2025-03-08 13:59:29 -05:00
committed by GitHub
parent 76183beaa5
commit 46bea7cfa2
755 changed files with 1905 additions and 1904 deletions
@@ -17,7 +17,7 @@
var/detail_color = COLOR_ASSEMBLY_BLACK
/obj/item/electronic_assembly/Initialize()
/obj/item/electronic_assembly/Initialize(mapload)
battery = new(src)
START_PROCESSING(SSobj, src)
return ..()
@@ -89,7 +89,7 @@
icon_state = "circuitry"
worn_state = "circuitry"
/obj/item/clothing/under/circuitry/Initialize()
/obj/item/clothing/under/circuitry/Initialize(mapload)
setup_integrated_circuit(/obj/item/electronic_assembly/clothing)
return ..()
@@ -103,7 +103,7 @@
icon_state = "circuitry"
item_state = "circuitry"
/obj/item/clothing/gloves/circuitry/Initialize()
/obj/item/clothing/gloves/circuitry/Initialize(mapload)
setup_integrated_circuit(/obj/item/electronic_assembly/clothing/small)
return ..()
@@ -117,7 +117,7 @@
icon_state = "circuitry"
item_state = "night" // The on-mob sprite would be identical anyways.
/obj/item/clothing/glasses/circuitry/Initialize()
/obj/item/clothing/glasses/circuitry/Initialize(mapload)
setup_integrated_circuit(/obj/item/electronic_assembly/clothing/small)
return ..()
@@ -130,7 +130,7 @@
icon_state = "circuitry"
item_state = "circuitry"
/obj/item/clothing/shoes/circuitry/Initialize()
/obj/item/clothing/shoes/circuitry/Initialize(mapload)
setup_integrated_circuit(/obj/item/electronic_assembly/clothing/small)
return ..()
@@ -143,7 +143,7 @@
icon_state = "circuitry"
item_state = "circuitry"
/obj/item/clothing/head/circuitry/Initialize()
/obj/item/clothing/head/circuitry/Initialize(mapload)
setup_integrated_circuit(/obj/item/electronic_assembly/clothing/small)
return ..()
@@ -156,7 +156,7 @@
icon_state = "circuitry"
item_state = "circuitry"
/obj/item/clothing/ears/circuitry/Initialize()
/obj/item/clothing/ears/circuitry/Initialize(mapload)
setup_integrated_circuit(/obj/item/electronic_assembly/clothing/small)
return ..()
@@ -169,6 +169,6 @@
icon_state = "circuitry"
item_state = "circuitry"
/obj/item/clothing/suit/circuitry/Initialize()
/obj/item/clothing/suit/circuitry/Initialize(mapload)
setup_integrated_circuit(/obj/item/electronic_assembly/clothing/large)
return ..()
@@ -25,7 +25,7 @@
"hot pink" = COLOR_ASSEMBLY_HOT_PINK
)
/obj/item/integrated_electronics/detailer/Initialize()
/obj/item/integrated_electronics/detailer/Initialize(mapload)
update_icon()
return ..()
@@ -296,7 +296,7 @@
make_exact_fit()
. = ..()
/obj/item/storage/bag/circuits/all/Initialize()
/obj/item/storage/bag/circuits/all/Initialize(mapload)
new /obj/item/storage/bag/circuits/mini/arithmetic/all(src)
new /obj/item/storage/bag/circuits/mini/trig/all(src)
new /obj/item/storage/bag/circuits/mini/input/all(src)
@@ -189,7 +189,7 @@
var/obj/machinery/power/circuit_io/IO = null // Dummy power machine to move energy in/out without a bunch of code duplication.
var/throughput = 10000 // Give/take up to 10kW.
/obj/item/integrated_circuit/passive/power/powernet/Initialize()
/obj/item/integrated_circuit/passive/power/powernet/Initialize(mapload)
IO = new(src)
return ..()
@@ -361,7 +361,7 @@
var/code = 30
var/datum/radio_frequency/radio_connection
/obj/item/integrated_circuit/input/signaler/Initialize()
/obj/item/integrated_circuit/input/signaler/Initialize(mapload)
. = ..()
set_pin_data(IC_INPUT, 1, frequency)
set_pin_data(IC_INPUT, 2, code)
@@ -596,7 +596,7 @@
LANGUAGE_SIGN
)
/obj/item/integrated_circuit/input/microphone/sign/Initialize()
/obj/item/integrated_circuit/input/microphone/sign/Initialize(mapload)
. = ..()
for(var/lang in readable_langs)
var/datum/language/newlang = GLOB.all_languages[lang]
@@ -149,7 +149,7 @@
var/mob/living/voice/my_voice
/obj/item/integrated_circuit/output/text_to_speech/advanced/Initialize()
/obj/item/integrated_circuit/output/text_to_speech/advanced/Initialize(mapload)
. = ..()
my_voice = new (src)
mob_list -= my_voice // no life() ticks
@@ -442,7 +442,7 @@
// var/datum/beam/holo_beam = null // A visual effect, to make it easy to know where a hologram is coming from.
// It is commented out due to picking up the assembly killing the beam.
/obj/item/integrated_circuit/output/holographic_projector/Initialize()
/obj/item/integrated_circuit/output/holographic_projector/Initialize(mapload)
. = ..()
AddComponent(/datum/component/recursive_move)
RegisterSignal(src, COMSIG_OBSERVER_MOVED, PROC_REF(on_moved))