Skip to content

Commit

Permalink
Require a working cryotube for external bleeding
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Apr 21, 2024
1 parent 2a32302 commit afb50af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/datums/effects/bleeding.dm
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@
blood_loss -= THWEI_BLOOD_REDUCTION

if(affected_mob.bodytemperature < T0C && (affected_mob.reagents.get_reagent_amount("cryoxadone") || affected_mob.reagents.get_reagent_amount("clonexadone")))
blood_loss -= CRYO_BLOOD_REDUCTION
var/obj/structure/machinery/cryo_cell/cryo = affected_mob.loc
if(istype(cryo) && cryo.on && cryo.operable())
blood_loss -= CRYO_BLOOD_REDUCTION

var/mob/living/carbon/human/affected_human = affected_mob
if(istype(affected_human))
Expand Down

0 comments on commit afb50af

Please sign in to comment.