migrate all /obj/item from /New() to /Initialize() (#31232)

* migrate all /obj/item from /New() to /Initialize()

* move GLOB.chemical_reagents_list creation to /world/New()

* review

* oops

* autodoc a smart var
This commit is contained in:
Toastical
2026-01-28 19:44:32 +00:00
committed by GitHub
parent a0ed4b0066
commit 4c74b78a18
89 changed files with 321 additions and 362 deletions
+4 -4
View File
@@ -49,8 +49,8 @@
update_icon()
return secured
/obj/item/assembly/infra/New()
..()
/obj/item/assembly/infra/Initialize(mapload)
. = ..()
if(!secured)
toggle_secure()
@@ -185,8 +185,8 @@
/obj/item/assembly/infra/armed/New()
..()
/obj/item/assembly/infra/armed/Initialize(mapload)
. = ..()
spawn(3)
if(holder)
if(holder.master)