Changeling Blood Test (#18171)

* changeling blood

* more handling

* actually don't
This commit is contained in:
Will
2025-08-07 21:24:20 -04:00
committed by GitHub
parent fc7faa9ece
commit b8e26ac2a9
11 changed files with 47 additions and 5 deletions
@@ -164,3 +164,10 @@
EXTRAPOLATOR_ACT_SET(., EXTRAPOLATOR_ACT_PRIORITY_ISOLATE)
var/datum/reagent/blood/blood = reagents.get_reagent(REAGENT_ID_BLOOD)
EXTRAPOLATOR_ACT_ADD_DISEASES(., blood?.get_diseases())
/obj/item/reagent_containers/proc/attempt_changeling_test(var/obj/item/W,var/mob/user)
if(is_open_container() && W.is_hot())
var/datum/reagent/blood/B = reagents.get_reagent("blood")
if(B)
balloon_alert(user, "\The [W] burns the blood in \the [src].")
B.changling_blood_test(reagents)
@@ -36,7 +36,7 @@
if(blood_type != null)
label_text = "[blood_type]"
update_iv_label()
reagents.add_reagent(reag_id, 200, list("donor"=null,"viruses"=null,"blood_DNA"=null,"blood_type"=blood_type,"resistances"=null,"trace_chem"=null))
reagents.add_reagent(reag_id, 200, list("donor"=null,"viruses"=null,"blood_DNA"=null,"blood_type"=blood_type,"resistances"=null,"trace_chem"=null,"changeling"=FALSE))
update_icon()
/obj/item/reagent_containers/blood/on_reagent_change()
@@ -164,6 +164,7 @@
if(W && W.w_class <= w_class && (flags & OPENCONTAINER) && user.a_intent != I_HELP)
balloon_alert(user, "[W] dipped into \the [src].")
reagents.touch_obj(W, reagents.total_volume)
attempt_changeling_test(W,user)
/obj/item/reagent_containers/glass/proc/update_name_label()
if(label_text == "")
@@ -1,7 +1,7 @@
/obj/item/reagent_containers/glass/beaker/vial/culture
name = "virus culture"
desc = "A bottle with a virus culture"
var/list/data = list("donor" = null, "viruses" = null, "blood_DNA" = null, "blood_type" = null, "resistances" = null, "trace_chems" = null)
var/list/data = list("donor" = null, "viruses" = null, "blood_DNA" = null, "blood_type" = null, "resistances" = null, "trace_chems" = null, "changeling"=FALSE)
var/list/diseases = list()
/obj/item/reagent_containers/glass/beaker/vial/culture/cold