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
+3 -3
View File
@@ -37,8 +37,10 @@
var/list/wing_type = null
var/corpsesynthtype = 0 // 0 for organic, 1 for drone, 2 for posibrain
var/corpsesynthbrand = "Unbranded"
delete_me = TRUE
/obj/effect/landmark/mobcorpse/New()
/obj/effect/landmark/mobcorpse/Initialize(mapload)
. = ..()
createCorpse()
/obj/effect/landmark/mobcorpse/proc/createCorpse() //Creates a mob and checks for gear in each slot before attempting to equip it.
@@ -168,8 +170,6 @@
M.equip_voidhelm_to_slot_or_del_with_refit(new src.corpsehelmet(M), slot_head, src.species)
if(src.corpsesuit)
M.equip_voidsuit_to_slot_or_del_with_refit(new src.corpsesuit(M), slot_wear_suit, src.species)
delete_me = 1
qdel(src)
/obj/effect/landmark/mobcorpse/proc/generateCorpseName()
return name