[MIRROR] next new to init (#10524)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-03-24 14:10:59 -07:00
committed by GitHub
parent 9156a08bf0
commit 55d696e503
165 changed files with 672 additions and 729 deletions

View File

@@ -85,8 +85,8 @@
desc = "A box of body record disks, apparently."
icon_state = "disk_kit"
/obj/item/storage/box/body_record_disk/New()
..()
/obj/item/storage/box/body_record_disk/Initialize(mapload)
. = ..()
for(var/i = 0 to 7)
new /obj/item/disk/body_record(src)

View File

@@ -30,9 +30,9 @@
<b>Integrity:</b> Generally very survivable. Susceptible to being destroyed by acid."}
return dat
/obj/item/implant/backup/New(newloc, db_key)
/obj/item/implant/backup/Initialize(mapload, db_key)
. = ..()
src.db_key = db_key
db_key = db_key
/obj/item/implant/backup/Initialize(mapload)
. = ..()
@@ -66,8 +66,8 @@
var/db_key // To give to the baby implants
/obj/item/backup_implanter/New()
..()
/obj/item/backup_implanter/Initialize(mapload)
. = ..()
for(var/i = 1 to max_implants)
var/obj/item/implant/backup/imp = new(src, db_key)
imps |= imp
@@ -134,10 +134,9 @@
desc = "A case containing a backup implant."
icon_state = "implantcase-b"
/obj/item/implantcase/backup/New()
src.imp = new /obj/item/implant/backup(src)
..()
return
/obj/item/implantcase/backup/Initialize(mapload)
. = ..()
imp = new /obj/item/implant/backup(src)
//The box of backup implants
/obj/item/storage/box/backup_kit
@@ -146,8 +145,8 @@
icon_state = "implant"
item_state_slots = list(slot_r_hand_str = "syringe_kit", slot_l_hand_str = "syringe_kit")
/obj/item/storage/box/backup_kit/New()
..()
/obj/item/storage/box/backup_kit/Initialize(mapload)
. = ..()
for(var/i = 1 to 7)
new /obj/item/implantcase/backup(src)
new /obj/item/implanter(src)

View File

@@ -37,7 +37,7 @@
to_chat(our_infomorph, span_warning("You can feel the restricting binds of your card's directives taking hold of your mind as \the [user] swipes their [E] over you. You must serve your master."))
/obj/item/paicard/sleevecard/proc/sleeveInto(var/datum/transhuman/mind_record/MR, var/db_key)
var/mob/living/silicon/pai/infomorph/infomorph = new(src,MR.mindname,db_key=db_key)
var/mob/living/silicon/pai/infomorph/infomorph = new(src,MR.mindname,db_key)
for(var/datum/language/L in MR.languages)
infomorph.add_language(L.name)
@@ -83,8 +83,8 @@
ram = 35
var/emagged = FALSE
/mob/living/silicon/pai/infomorph/New(var/obj/item/paicard/sleevecard/SC, var/our_name = "Unknown", var/db_key)
..()
/mob/living/silicon/pai/infomorph/Initialize(mapload, var/our_name = "Unknown", var/db_key)
. = ..()
name = our_name