WOOO please pass your arguments if you want to use them!

This commit is contained in:
SandPoot
2022-07-19 20:55:42 -03:00
parent cee892c772
commit 665f467b2f
3 changed files with 8 additions and 8 deletions
+5 -5
View File
@@ -30,7 +30,7 @@
// Takes care blood loss and regeneration
/mob/living/carbon/human/handle_blood()
/mob/living/carbon/human/handle_blood(delta_time, times_fired)
if(NOBLOOD in dna.species.species_traits || bleedsuppress || (HAS_TRAIT(src, TRAIT_FAKEDEATH)))
return
@@ -39,7 +39,7 @@
return
if(bodytemperature >= TCRYO && !(HAS_TRAIT(src, TRAIT_HUSK))) //cryosleep or husked people do not pump the blood.
if(dna.species.handle_blood()) // if this returns TRUE, then the species is not handling blood itself and we can control everything
if(dna.species.handle_blood(src, delta_time, times_fired)) // if this returns TRUE, then the species is not handling blood itself and we can control everything
if(integrating_blood > 0)
var/blood_integrated = max(integrating_blood - 1, 0)
var/blood_diff = integrating_blood - blood_integrated
@@ -378,10 +378,10 @@
var/mob/living/carbon/human/H = src
if (HAS_TRAIT(src, TRAIT_HIGH_BLOOD))
blood_ratio = 1.2
H.handle_blood()
H.handle_blood(delta_time, times_fired)
return
blood_ratio = 1
H.handle_blood()
H.handle_blood(delta_time, times_fired)
return
blood_ratio = 1
@@ -391,7 +391,7 @@
blood_ratio = value
if(ishuman(src))
var/mob/living/carbon/human/H = src
H.handle_blood()
H.handle_blood(delta_time, times_fired)
/mob/living/proc/adjust_integration_blood(value, remove_actual_blood, force)
if(integrating_blood + value < 0 && remove_actual_blood)
@@ -2456,7 +2456,7 @@ GLOBAL_LIST_EMPTY(roundstart_race_names)
//Blood Stuff///
////////////////
// true = handle blood normally, false = do not (and then handle blood in this proc instead please!!)
/datum/species/proc/handle_blood()
/datum/species/proc/handle_blood(mob/living/carbon/human/H, delta_time, times_fired)
return TRUE
////////////////
+2 -2
View File
@@ -9,7 +9,7 @@
. = FALSE
if(!.)
return
handle_blood()
handle_blood(delta_time, times_fired)
// handle_blood *could* kill us.
// we should probably have a better system for if we need to check for death or something in the future hmw
if(stat != DEAD)
@@ -375,7 +375,7 @@
miasma_turf.air_update_turf()
/mob/living/carbon/proc/handle_blood()
/mob/living/carbon/proc/handle_blood(delta_time, times_fired)
return
/mob/living/carbon/proc/handle_bodyparts(seconds, times_fired)