mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-16 01:25:10 +01:00
tweak(blood): Implements Maintainer Requests
removes(blood): Removes remove_blood scaling with mob size tweak(blood): Simplifies minimum process check in take_blood
This commit is contained in:
@@ -219,8 +219,6 @@ var/const/CE_STABLE_THRESHOLD = 0.5
|
||||
if(!amt)
|
||||
return 0
|
||||
|
||||
amt = amt * (src.mob_size/MOB_MEDIUM)
|
||||
|
||||
var/current_blood = vessel.get_reagent_amount("blood")
|
||||
if(current_blood < BLOOD_MINIMUM_STOP_PROCESS)
|
||||
return 0 //We stop processing under 3 units of blood because apparently weird shit can make it overflowrandomly.
|
||||
@@ -271,7 +269,7 @@ var/const/CE_STABLE_THRESHOLD = 0.5
|
||||
if(!should_have_organ(O_HEART))
|
||||
return null
|
||||
|
||||
if(vessel.get_reagent_amount("blood") < amount || vessel.get_reagent_amount("blood") < BLOOD_MINIMUM_STOP_PROCESS)
|
||||
if(vessel.get_reagent_amount("blood") < max(amount, BLOOD_MINIMUM_STOP_PROCESS))
|
||||
return null
|
||||
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user