From 57153b4d1be2bc8f1c998cfdb64c1ac021dce7f3 Mon Sep 17 00:00:00 2001 From: Bond <58570888+TheBonded@users.noreply.github.com> Date: Wed, 2 Mar 2022 19:52:14 -0700 Subject: [PATCH] Podpeople inherit their blood chemical from the most abundant chemical trait in their seeds (#65215) Makes podperson clones have their blood reagent set as the largest chemical gene present in the seeds (defaults to water). --- code/modules/hydroponics/grown/replicapod.dm | 3 ++- .../modules/mob/living/carbon/human/species_types/podpeople.dm | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/hydroponics/grown/replicapod.dm b/code/modules/hydroponics/grown/replicapod.dm index cff6aed3df3..0f67477f09f 100644 --- a/code/modules/hydroponics/grown/replicapod.dm +++ b/code/modules/hydroponics/grown/replicapod.dm @@ -42,6 +42,7 @@ maturation = 10 production = 1 yield = 1 //seeds if there isn't a dna inside + instability = 15 //allows it to gain reagent genes from nearby plants potency = 30 var/volume = 5 var/ckey @@ -198,7 +199,7 @@ new V(podman) podman.hardset_dna(null,null,null,podman.real_name,blood_type, new /datum/species/pod,features)//Discard SE's and UI's, podman cloning is inaccurate, and always make them a podman podman.set_cloned_appearance() + podman.dna.species.exotic_blood = max(reagents_add) || /datum/reagent/water log_cloning("[key_name(mind)] cloned as a podman via [src] in [parent] at [AREACOORD(parent)].") - parent.update_tray(user, 1) return result diff --git a/code/modules/mob/living/carbon/human/species_types/podpeople.dm b/code/modules/mob/living/carbon/human/species_types/podpeople.dm index b283531f43f..8f2b8b21b8e 100644 --- a/code/modules/mob/living/carbon/human/species_types/podpeople.dm +++ b/code/modules/mob/living/carbon/human/species_types/podpeople.dm @@ -20,6 +20,7 @@ heatmod = 1.5 payday_modifier = 0.75 meat = /obj/item/food/meat/slab/human/mutant/plant + exotic_blood = /datum/reagent/water disliked_food = MEAT | DAIRY | SEAFOOD liked_food = VEGETABLES | FRUIT | GRAIN changesource_flags = MIRROR_BADMIN | WABBAJACK | MIRROR_MAGIC | MIRROR_PRIDE | RACE_SWAP | ERT_SPAWN | SLIME_EXTRACT