next new to init (#17400)

* next new to init

* .

* this needs thorough testing

* .

* needs an istype

* also vnotice

* mvoe to defines
This commit is contained in:
Kashargul
2025-03-24 06:18:39 -04:00
committed by GitHub
parent 8a4ac36d15
commit d3b7ba8b43
141 changed files with 529 additions and 601 deletions
+2 -2
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)
+9 -10
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)
+3 -3
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)
@@ -78,8 +78,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