mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-26 10:03:45 +00:00
Made syringes take from the reagents datum of a NO_BLOOD mob rater than vessel.
This commit is contained in:
@@ -89,13 +89,16 @@
|
||||
user << "\red You are unable to locate any blood."
|
||||
return
|
||||
|
||||
if(istype(T,/mob/living/carbon/human)) //TODO: make blood sampling take from the reagents datum instead of vessel.
|
||||
var/datum/reagent/B
|
||||
if(istype(T,/mob/living/carbon/human))
|
||||
var/mob/living/carbon/human/H = T
|
||||
if(H.species && H.species.flags & NO_BLOOD)
|
||||
user << "\red You are unable to locate any blood."
|
||||
H.reagents.trans_to(src,amount)
|
||||
return
|
||||
|
||||
var/datum/reagent/B = T.take_blood(src,amount)
|
||||
else
|
||||
B = T.take_blood(src,amount)
|
||||
else
|
||||
B = T.take_blood(src,amount)
|
||||
|
||||
if (B)
|
||||
src.reagents.reagent_list += B
|
||||
|
||||
Reference in New Issue
Block a user