mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-11 18:33:36 +00:00
fix and remove unused proc
This commit is contained in:
@@ -372,27 +372,6 @@
|
|||||||
if(!B)
|
if(!B)
|
||||||
B = new(T)
|
B = new(T)
|
||||||
|
|
||||||
//This is a terrible way of handling it.
|
|
||||||
/mob/living/proc/ResetBloodVol()
|
|
||||||
if(ishuman(src))
|
|
||||||
var/mob/living/carbon/human/H = src
|
|
||||||
if (HAS_TRAIT(src, TRAIT_HIGH_BLOOD))
|
|
||||||
blood_ratio = 1.2
|
|
||||||
H.handle_blood(delta_time, times_fired)
|
|
||||||
return
|
|
||||||
blood_ratio = 1
|
|
||||||
H.handle_blood(delta_time, times_fired)
|
|
||||||
return
|
|
||||||
blood_ratio = 1
|
|
||||||
|
|
||||||
/mob/living/proc/AdjustBloodVol(value)
|
|
||||||
if(blood_ratio == value)
|
|
||||||
return
|
|
||||||
blood_ratio = value
|
|
||||||
if(ishuman(src))
|
|
||||||
var/mob/living/carbon/human/H = src
|
|
||||||
H.handle_blood(delta_time, times_fired)
|
|
||||||
|
|
||||||
/mob/living/proc/adjust_integration_blood(value, remove_actual_blood, force)
|
/mob/living/proc/adjust_integration_blood(value, remove_actual_blood, force)
|
||||||
if(integrating_blood + value < 0 && remove_actual_blood)
|
if(integrating_blood + value < 0 && remove_actual_blood)
|
||||||
blood_volume += value + integrating_blood
|
blood_volume += value + integrating_blood
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
. = FALSE
|
. = FALSE
|
||||||
if(!.)
|
if(!.)
|
||||||
return
|
return
|
||||||
handle_blood(delta_time, times_fired)
|
handle_blood(seconds, times_fired)
|
||||||
// handle_blood *could* kill us.
|
// 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
|
// we should probably have a better system for if we need to check for death or something in the future hmw
|
||||||
if(stat != DEAD)
|
if(stat != DEAD)
|
||||||
|
|||||||
Reference in New Issue
Block a user