mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-23 05:06:50 +01:00
@@ -152,7 +152,7 @@ var/global/const/CE_STABLE_THRESHOLD = 0.5
|
||||
// Some species bleed out differently
|
||||
blood_loss_divisor /= species.bloodloss_rate
|
||||
|
||||
// Some modifiers can make bleeding better or worse. Higher multiplers = more bleeding.
|
||||
// Some modifiers can make bleeding better or worse. Higher multipliers = more bleeding.
|
||||
var/blood_loss_modifier_multiplier = 1.0
|
||||
for(var/datum/modifier/M in modifiers)
|
||||
if(!isnull(M.bleeding_rate_percent))
|
||||
@@ -274,7 +274,7 @@ var/global/const/CE_STABLE_THRESHOLD = 0.5
|
||||
src.reagents.add_reagent(C, (text2num(chems[C]) / species.blood_volume) * amount)//adds trace chemicals to owner's blood
|
||||
reagents.update_total()
|
||||
|
||||
//Transfers blood from reagents to vessel, respecting blood types compatability.
|
||||
//Transfers blood from reagents to vessel, respecting blood types compatibility.
|
||||
/mob/living/carbon/human/inject_blood(var/datum/reagent/blood/injected, var/amount)
|
||||
|
||||
if(!should_have_organ(O_HEART))
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
// Brain is defined in brain.dm
|
||||
/obj/item/organ/internal/handle_germ_effects()
|
||||
. = ..() //Should be an interger value for infection level
|
||||
. = ..() //Should be an integer value for infection level
|
||||
if(!.) return
|
||||
|
||||
var/antibiotics = owner.chem_effects[CE_ANTIBIOTIC]
|
||||
|
||||
@@ -627,7 +627,7 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
*/
|
||||
/obj/item/organ/external/proc/update_germs()
|
||||
|
||||
if(robotic >= ORGAN_ROBOT || (owner.species && (owner.species.flags & IS_PLANT || (owner.species.flags & NO_INFECT)))) //Robotic limbs shouldn't be infected, nor should nonexistant limbs.
|
||||
if(robotic >= ORGAN_ROBOT || (owner.species && (owner.species.flags & IS_PLANT || (owner.species.flags & NO_INFECT)))) //Robotic limbs shouldn't be infected, nor should nonexistent limbs.
|
||||
germ_level = 0
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user