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).
This commit is contained in:
Bond
2022-03-02 20:52:14 -06:00
committed by GitHub
parent f4e22ad6de
commit 57153b4d1b
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -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
@@ -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