Fixes missing DNA info for slimes, resolves virology issues

This commit is contained in:
Poojawa
2019-08-24 04:14:47 -05:00
parent 32c7a7c3ee
commit d60ba0a207
3 changed files with 10 additions and 5 deletions
@@ -27,7 +27,8 @@
if(iscarbon(L))
var/mob/living/carbon/C = L
if(C.get_blood_id() == ("blood" || "jellyblood") && (method == INJECT || (method == INGEST && C.dna && C.dna.species && (DRINKSBLOOD in C.dna.species.species_traits))))
var/blood_id = C.get_blood_id()
if((blood_id == "blood" || blood_id == "jellyblood") && (method == INJECT || (method == INGEST && C.dna && C.dna.species && (DRINKSBLOOD in C.dna.species.species_traits))))
if(!data || !(data["blood_type"] in get_safe_blood(C.dna.blood_type)))
C.reagents.add_reagent("bonehurtingjuice", reac_volume * 0.5)
else