Merge pull request #3143 from Crazylemon64/i_hate_fun

Makes everything terrible
This commit is contained in:
Fox McCloud
2016-01-08 14:03:32 -05:00
4 changed files with 19 additions and 4 deletions
@@ -1486,6 +1486,8 @@
if(species.default_language)
remove_language(species.default_language)
species.handle_pre_loss(src)
species = all_species[new_species]
if(oldspecies)
@@ -308,6 +308,14 @@
/datum/species/proc/handle_post_spawn(var/mob/living/carbon/C) //Handles anything not already covered by basic species assignment.
handle_dna(C)
for (var/foo in abilities)
C.verbs |= foo
return
// Used so that species lose their abilities before
/datum/species/proc/handle_pre_loss(var/mob/living/carbon/C)
for (var/foo in abilities)
C.verbs -= foo
return
/datum/species/proc/handle_dna(var/mob/living/carbon/C, var/remove) //Handles DNA mutations, as that doesn't work at init.
@@ -527,11 +527,9 @@
"r_foot" = list("path" = /obj/item/organ/external/foot/right/ipc)
)
abilities = list(/mob/living/carbon/human/proc/change_monitor,)
/datum/species/machine/handle_death(var/mob/living/carbon/human/H)
H.h_style = ""
spawn(100)
if(H) H.update_hair()
/datum/species/machine/handle_post_spawn(var/mob/living/carbon/human/H)
..()
H.verbs += /mob/living/carbon/human/proc/change_monitor