[MIRROR] Initialize fixing (#10335)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-03-08 14:22:04 -07:00
committed by GitHub
parent 2e725a0727
commit ce2446922e
888 changed files with 2876 additions and 2225 deletions

View File

@@ -62,7 +62,8 @@
lightboom = 0
flash = 0
/obj/effect/instantboom/Initialize()
/obj/effect/instantboom/Initialize(mapload)
..()
var/turf/T = get_turf(src)
explosion(T,devastation,heavyboom,lightboom,flash)
qdel(src)
return INITIALIZE_HINT_QDEL

View File

@@ -34,8 +34,8 @@
return module.attack_self(user)
..()
/obj/item/paicard/flipper/Initialize() //ChompEDIT New --> Initialize
..()
/obj/item/paicard/flipper/Initialize(mapload) //ChompEDIT New --> Initialize
. = ..()
desc = "The [name] is a versatile security device designed to protect and empower users in a variety of contexts. With features such as wireless hacking, radio analysis, signal jamming, and physical lock picking, the [name] is the ultimate tool for security professionals, hobbyists, and anyone seeking to better understand and defend against modern threats. Whether you're investigating a security breach, testing your own defenses, or simply curious about the workings of wireless technology, the [name] has you covered."
MultiTool = new /obj/item/multitool(src)
Signal = new /obj/item/assembly/signaler(src)

View File

@@ -85,7 +85,7 @@
icon_state = "pill2"
/obj/item/reagent_containers/pill/neotane/Initialize()
/obj/item/reagent_containers/pill/neotane/Initialize(mapload)
. = ..()
reagents.add_reagent(REAGENT_ID_NEOTANE, 10)
color = reagents.get_color()
@@ -95,7 +95,7 @@
desc = "An experimental pill."
icon_state = "pill2"
/obj/item/reagent_containers/pill/burncard/Initialize()
/obj/item/reagent_containers/pill/burncard/Initialize(mapload)
. = ..()
reagents.add_reagent(REAGENT_ID_BURNCARD, 10)
color = reagents.get_color()
@@ -105,7 +105,7 @@
desc = "An experimental pill."
icon_state = "pill2"
/obj/item/reagent_containers/pill/flamecure/Initialize()
/obj/item/reagent_containers/pill/flamecure/Initialize(mapload)
. = ..()
reagents.add_reagent(REAGENT_ID_FLAMECURE, 5)
color = reagents.get_color()
@@ -115,7 +115,7 @@
desc = "An experimental pill."
icon_state = "pill2"
/obj/item/reagent_containers/pill/juggernog/Initialize()
/obj/item/reagent_containers/pill/juggernog/Initialize(mapload)
. = ..()
reagents.add_reagent(REAGENT_ID_JUGGERNOG, 5)
color = reagents.get_color()
@@ -125,7 +125,7 @@
desc = "An experimental pill."
icon_state = "pill2"
/obj/item/reagent_containers/pill/curea/Initialize()
/obj/item/reagent_containers/pill/curea/Initialize(mapload)
. = ..()
reagents.add_reagent(REAGENT_ID_CUREA, 10)
color = reagents.get_color()
@@ -135,7 +135,7 @@
desc = "An experimental pill."
icon_state = "pill2"
/obj/item/reagent_containers/pill/souldew/Initialize()
/obj/item/reagent_containers/pill/souldew/Initialize(mapload)
. = ..()
reagents.add_reagent(REAGENT_ID_SOULDEW, 10)
color = reagents.get_color()
@@ -146,8 +146,7 @@
desc = "An expirmental pill."
icon_state = "pill2"
/obj/item/reagent_containers/pill/purifyingagent/Initialize()
/obj/item/reagent_containers/pill/purifyingagent/Initialize(mapload)
. = ..()
reagents.add_reagent(REAGENT_ID_PURIFYINGAGENT, 10)
@@ -158,7 +157,7 @@
desc = "A pill to help you concentrate."
icon_state = "pill2"
/obj/item/reagent_containers/pill/methylphenidate/Initialize()
/obj/item/reagent_containers/pill/methylphenidate/Initialize(mapload)
. = ..()
reagents.add_reagent(REAGENT_ID_METHYLPHENIDATE, 10)
color = reagents.get_color()
@@ -168,7 +167,7 @@
desc = "A pill to help treat severe depression."
icon_state = "pill2"
/obj/item/reagent_containers/pill/paroxetine/Initialize()
/obj/item/reagent_containers/pill/paroxetine/Initialize(mapload)
. = ..()
reagents.add_reagent(REAGENT_ID_PAROXETINE, 10)
color = reagents.get_color()
@@ -178,7 +177,7 @@
desc = "A pill to help treat jitters, confusion, and blurred vision."
icon_state = "pill2"
/obj/item/reagent_containers/pill/adranol/Initialize()
/obj/item/reagent_containers/pill/adranol/Initialize(mapload)
. = ..()
reagents.add_reagent(REAGENT_ID_ADRANOL, 10)
color = reagents.get_color()
@@ -188,7 +187,7 @@
desc = "Just one couldn't hurt, right?"
icon_state = "pill2"
/obj/item/reagent_containers/pill/aphrodisiac/Initialize()
/obj/item/reagent_containers/pill/aphrodisiac/Initialize(mapload)
. = ..()
reagents.add_reagent(REAGENT_ID_APHRODISIAC, 20)
color = reagents.get_color()

View File

@@ -6,7 +6,7 @@
/obj/effect/map_helper
icon = 'icons/misc/map_helpers.dmi'
/obj/effect/map_helper/Initialize()
/obj/effect/map_helper/Initialize(mapload)
. = ..()
return INITIALIZE_HINT_LATELOAD
@@ -124,4 +124,4 @@ Make this if you can figure out a way to do it for every area in that z level ex
var/area/A = get_area(src)
if(A)
A.flags |= PHASE_SHIELDED
qdel(src)
qdel(src)

View File

@@ -116,7 +116,7 @@
/obj/item/clothing/mask/gas/half,
/obj/item/clothing/mask/gas/sechailer/swat/hos)
/obj/structure/closet/secure_closet/hos/Initialize()
/obj/structure/closet/secure_closet/hos/Initialize(mapload)
if(prob(50))
starts_with += /obj/item/storage/backpack/security
else
@@ -175,7 +175,7 @@
/obj/item/retail_scanner/security //CHOMPStation addition
)
/obj/structure/closet/secure_closet/warden/Initialize()
/obj/structure/closet/secure_closet/warden/Initialize(mapload)
if(prob(50))
starts_with += /obj/item/storage/backpack/security
else
@@ -220,7 +220,7 @@
/obj/item/ticket_printer //CHOMPStation addition
)
/obj/structure/closet/secure_closet/security/Initialize()
/obj/structure/closet/secure_closet/security/Initialize(mapload)
if(prob(50))
starts_with += /obj/item/storage/backpack/security
else
@@ -231,22 +231,22 @@
starts_with += /obj/item/poster/nanotrasen
return ..()
/obj/structure/closet/secure_closet/security/cargo/Initialize()
/obj/structure/closet/secure_closet/security/cargo/Initialize(mapload)
starts_with += /obj/item/clothing/accessory/armband/cargo
starts_with += /obj/item/encryptionkey/headset_cargo
return ..()
/obj/structure/closet/secure_closet/security/engine/Initialize()
/obj/structure/closet/secure_closet/security/engine/Initialize(mapload)
starts_with += /obj/item/clothing/accessory/armband/engine
starts_with += /obj/item/encryptionkey/headset_eng
return ..()
/obj/structure/closet/secure_closet/security/science/Initialize()
/obj/structure/closet/secure_closet/security/science/Initialize(mapload)
starts_with += /obj/item/clothing/accessory/armband/science
starts_with += /obj/item/encryptionkey/headset_sci
return ..()
/obj/structure/closet/secure_closet/security/med/Initialize()
/obj/structure/closet/secure_closet/security/med/Initialize(mapload)
starts_with += /obj/item/clothing/accessory/armband/medblue
starts_with += /obj/item/encryptionkey/headset_med
return ..()

View File

@@ -14,7 +14,7 @@
name = "Dangerous drone carrier"
starts_with = list(/mob/living/simple_mob/vore/sect_drone)
/obj/structure/largecrate/animal/bugsect/Initialize()
/obj/structure/largecrate/animal/bugsect/Initialize(mapload)
starts_with = list(pick(/mob/living/simple_mob/vore/sect_drone,
/mob/living/simple_mob/vore/sect_queen))
return ..()
@@ -47,4 +47,4 @@
/obj/structure/largecrate/animal/gravityshell
name = "Exotic crate"
desc = "WARNING: HAZARDOUS CONTENTS. HANDLE WITH CAUTION"
starts_with = list(/mob/living/simple_mob/vore/spacecritter/gravityshell)
starts_with = list(/mob/living/simple_mob/vore/spacecritter/gravityshell)

View File

@@ -12,7 +12,7 @@
var/total_w = 0
var/panic_mult = 1
/obj/structure/toilet/Initialize()
/obj/structure/toilet/Initialize(mapload)
if(z in global.using_map.map_levels)
teleplumbed = TRUE
exit_landmark = locate(/obj/effect/landmark/teleplumb_exit)
@@ -133,7 +133,7 @@
var/mob/living/simple_mob/vore/aggressive/corrupthound/muffinmonster
var/obj/machinery/recycling/crusher/crusher //Bluespace connection for recyclables
/obj/structure/biowaste_tank/Initialize()
/obj/structure/biowaste_tank/Initialize(mapload)
muffinmonster = new /mob/living/simple_mob/vore/aggressive/corrupthound/muffinmonster(src)
muffinmonster.name = "Activate Muffin Monster"
muffinmonster.voremob_loaded = TRUE