Language Diversity / Racial fixes

This commit is contained in:
Dip
2020-09-12 22:30:37 -03:00
parent bb9b88b6d1
commit c35c942f72
5 changed files with 75 additions and 2 deletions
@@ -227,6 +227,7 @@
liked_food = MEAT
/datum/species/xeno/on_species_gain(mob/living/carbon/human/C, datum/species/old_species)
C.grant_language(/datum/language/xenocommon)
if(("legs" in C.dna.species.mutant_bodyparts) && C.dna.features["legs"] == "Digitigrade Legs")
species_traits += DIGITIGRADE
if(DIGITIGRADE in species_traits)
@@ -234,6 +235,7 @@
. = ..()
/datum/species/xeno/on_species_loss(mob/living/carbon/human/C, datum/species/new_species)
C.remove_language(/datum/language/xenocommon)
if(("legs" in C.dna.species.mutant_bodyparts) && C.dna.features["legs"] == "Normal Legs")
species_traits -= DIGITIGRADE
if(DIGITIGRADE in species_traits)
@@ -24,12 +24,14 @@
var/datum/action/innate/monitor_change/screen
/datum/species/ipc/on_species_gain(mob/living/carbon/human/C)
C.grant_language(/datum/language/machine)
if(isipcperson(C) && !screen)
screen = new
screen.Grant(C)
..()
/datum/species/ipc/on_species_loss(mob/living/carbon/human/C)
C.remove_language(/datum/language/machine)
if(screen)
screen.Remove(C)
..()