From fea30a12b0f8fa1fce9b8b9b0c722175c8f41a2a Mon Sep 17 00:00:00 2001 From: ZomgPonies Date: Tue, 29 Apr 2014 21:37:53 -0400 Subject: [PATCH] Attempt to fix slime people number 2 --- code/modules/mob/living/carbon/human/human.dm | 7 +------ code/modules/mob/living/carbon/species.dm | 4 ++++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index cbf990accdc..8d198123db0 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -33,17 +33,12 @@ h_style = "Bald" ..(new_loc, "Skellington") - /mob/living/carbon/human/kidan/New(var/new_loc) ..(new_loc, "Kidan") /mob/living/carbon/human/slime/New(var/new_loc) ..(new_loc, "Slime People") - dna = new /datum/dna(null) - dna.species=species.name - dna.mutantrace = "slime" - update_mutantrace() - + verbs += /mob/living/carbon/human/slime/proc/slimepeople_ventcrawl /mob/living/carbon/human/grey/New(var/new_loc) ..(new_loc, "Grey") diff --git a/code/modules/mob/living/carbon/species.dm b/code/modules/mob/living/carbon/species.dm index 5c28ccc6243..9c73a8719db 100644 --- a/code/modules/mob/living/carbon/species.dm +++ b/code/modules/mob/living/carbon/species.dm @@ -239,6 +239,10 @@ bodyflags = FEET_NOSLIP abilities = list(/mob/living/carbon/human/slime/proc/slimepeople_ventcrawl) +/datum/species/slime/handle_post_spawn(var/mob/living/carbon/human/H) + H.dna.mutantrace = "slime" + H.update_mutantrace() + /datum/species/grey // /vg/ name = "Grey"