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
+2 -2
View File
@@ -6,7 +6,7 @@
icon_state = "x4"
var/obj/item/stack/type_to_spawn = null
/obj/fiftyspawner/Initialize()
/obj/fiftyspawner/Initialize(mapload)
..()
var/turf/T = get_turf(src)
var/obj/structure/closet/C = locate() in T
@@ -16,4 +16,4 @@
/obj/fiftyspawner/rods
name = "stack of rods" //this needs to be defined for cargo
type_to_spawn = /obj/item/stack/rods
type_to_spawn = /obj/item/stack/rods
+1 -1
View File
@@ -6,7 +6,7 @@
gender = NEUTER
matter = null // Don't shove it in the autholathe.
/obj/item/stack/material/cyborg/Initialize()
/obj/item/stack/material/cyborg/Initialize(mapload)
. = ..()
name = "[material.display_name] synthesiser"
desc = "A device that synthesises [material.display_name]."
+1 -1
View File
@@ -22,7 +22,7 @@
drop_sound = 'sound/items/drop/axe.ogg'
pickup_sound = 'sound/items/pickup/axe.ogg'
/obj/item/stack/material/Initialize()
/obj/item/stack/material/Initialize(mapload)
. = ..()
randpixel_xy()
+1 -1
View File
@@ -26,7 +26,7 @@
stacktype = /obj/item/stack/rods
no_variants = TRUE
/obj/item/stack/rods/Initialize()
/obj/item/stack/rods/Initialize(mapload)
. = ..()
recipes = rods_recipes
update_icon()
@@ -6,7 +6,7 @@
var/obj/item/stack/wetleather/drying = null
/obj/structure/tanning_rack/Initialize()
/obj/structure/tanning_rack/Initialize(mapload)
. = ..()
START_PROCESSING(SSobj, src) // SSObj fires ~every 2s , starting from wetness 30 takes ~1m
@@ -64,4 +64,4 @@
update_icon()
/obj/structure/tanning_rack/attack_robot(var/mob/user)
attack_hand(user) // That has checks to
attack_hand(user) // That has checks to