mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-14 00:26:02 +01:00
Revert "[MIRROR] /atom New() => Initialize() [MDB IGNORE]"
This commit is contained in:
@@ -78,8 +78,8 @@ GLOBAL_LIST_BOILERPLATE(all_brain_organs, /obj/item/organ/internal/brain)
|
||||
tmp_owner.internal_organs_by_name[organ_tag] = new replace_path(tmp_owner, 1)
|
||||
tmp_owner = null
|
||||
|
||||
/obj/item/organ/internal/brain/Initialize()
|
||||
. = ..()
|
||||
/obj/item/organ/internal/brain/New()
|
||||
..()
|
||||
health = config.default_brain_health
|
||||
defib_timer = (config.defib_timer MINUTES) / 20 // Time vars measure things in ticks. Life tick happens every ~2 seconds, therefore dividing by 20
|
||||
spawn(5)
|
||||
@@ -190,8 +190,8 @@ GLOBAL_LIST_BOILERPLATE(all_brain_organs, /obj/item/organ/internal/brain)
|
||||
/obj/item/organ/internal/brain/slime/is_open_container()
|
||||
return 1
|
||||
|
||||
/obj/item/organ/internal/brain/slime/Initialize()
|
||||
. = ..()
|
||||
/obj/item/organ/internal/brain/slime/New()
|
||||
..()
|
||||
create_reagents(50)
|
||||
var/mob/living/carbon/human/H = null
|
||||
spawn(15) //Match the core to the Promethean's starting color.
|
||||
@@ -306,8 +306,8 @@ GLOBAL_LIST_BOILERPLATE(all_brain_organs, /obj/item/organ/internal/brain)
|
||||
desc = "A piece of juicy meat found in a person's head. This one is strange."
|
||||
icon_state = "brain_grey"
|
||||
|
||||
/obj/item/organ/internal/brain/grey/colormatch/Initialize()
|
||||
. = ..()
|
||||
/obj/item/organ/internal/brain/grey/colormatch/New()
|
||||
..()
|
||||
var/mob/living/carbon/human/H = null
|
||||
spawn(15)
|
||||
if(ishuman(owner))
|
||||
|
||||
@@ -15,15 +15,15 @@
|
||||
/obj/item/organ/internal/eyes/robot
|
||||
name = "optical sensor"
|
||||
|
||||
/obj/item/organ/internal/eyes/robot/Initialize()
|
||||
. = ..()
|
||||
/obj/item/organ/internal/eyes/robot/New()
|
||||
..()
|
||||
robotize()
|
||||
|
||||
/obj/item/organ/internal/eyes/grey
|
||||
icon_state = "eyes_grey"
|
||||
|
||||
/obj/item/organ/internal/eyes/grey/colormatch/Initialize()
|
||||
. = ..()
|
||||
/obj/item/organ/internal/eyes/grey/colormatch/New()
|
||||
..()
|
||||
var/mob/living/carbon/human/H = null
|
||||
spawn(15)
|
||||
if(ishuman(owner))
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
icon_state = "heart_grey-on"
|
||||
dead_icon = "heart_grey-off"
|
||||
|
||||
/obj/item/organ/internal/heart/grey/colormatch/Initialize()
|
||||
. = ..()
|
||||
/obj/item/organ/internal/heart/grey/colormatch/New()
|
||||
..()
|
||||
var/mob/living/carbon/human/H = null
|
||||
spawn(15)
|
||||
if(ishuman(owner))
|
||||
|
||||
@@ -44,8 +44,8 @@
|
||||
/obj/item/organ/internal/kidneys/grey
|
||||
icon_state = "kidneys_grey"
|
||||
|
||||
/obj/item/organ/internal/kidneys/grey/colormatch/Initialize()
|
||||
. = ..()
|
||||
/obj/item/organ/internal/kidneys/grey/colormatch/New()
|
||||
..()
|
||||
var/mob/living/carbon/human/H = null
|
||||
spawn(15)
|
||||
if(ishuman(owner))
|
||||
|
||||
@@ -59,8 +59,8 @@
|
||||
/obj/item/organ/internal/liver/grey
|
||||
icon_state = "liver_grey"
|
||||
|
||||
/obj/item/organ/internal/liver/grey/colormatch/Initialize()
|
||||
. = ..()
|
||||
/obj/item/organ/internal/liver/grey/colormatch/New()
|
||||
..()
|
||||
var/mob/living/carbon/human/H = null
|
||||
spawn(15)
|
||||
if(ishuman(owner))
|
||||
|
||||
@@ -61,8 +61,8 @@
|
||||
/obj/item/organ/internal/lungs/grey
|
||||
icon_state = "lungs_grey"
|
||||
|
||||
/obj/item/organ/internal/lungs/grey/colormatch/Initialize()
|
||||
. = ..()
|
||||
/obj/item/organ/internal/lungs/grey/colormatch/New()
|
||||
..()
|
||||
var/mob/living/carbon/human/H = null
|
||||
spawn(15)
|
||||
if(owner && ishuman(owner))
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
will_assist_languages = list(LANGUAGE_GALCOM)
|
||||
var/mute = FALSE
|
||||
|
||||
/obj/item/organ/internal/voicebox/Initialize()
|
||||
. = ..()
|
||||
/obj/item/organ/internal/voicebox/New()
|
||||
..()
|
||||
amend_assist_langs()
|
||||
|
||||
/obj/item/organ/internal/voicebox/proc/amend_assist_langs() // Adds the list of language datums assisted by the voicebox to the list used in speaking
|
||||
@@ -30,14 +30,14 @@
|
||||
|
||||
/obj/item/organ/internal/voicebox/assist // In the off chance we get a species that doesn't speak GalCom by default
|
||||
|
||||
/obj/item/organ/internal/voicebox/assist/Initialize()
|
||||
. = ..()
|
||||
/obj/item/organ/internal/voicebox/assist/New()
|
||||
..()
|
||||
mechassist()
|
||||
|
||||
/obj/item/organ/internal/voicebox/robot
|
||||
name = "vocal synthesizer"
|
||||
will_assist_languages = list(LANGUAGE_GALCOM, LANGUAGE_EAL) // Synthetics spawn with this by default
|
||||
|
||||
/obj/item/organ/internal/voicebox/robot/Initialize()
|
||||
. = ..()
|
||||
/obj/item/organ/internal/voicebox/robot/New()
|
||||
..()
|
||||
robotize()
|
||||
|
||||
Reference in New Issue
Block a user