Allows un-obligate bloodsucker to just drink blood normally

This commit is contained in:
Casey
2022-08-07 15:35:55 -04:00
committed by CHOMPStation2
parent aa75a3b2c0
commit fc8890bd7c
3 changed files with 18 additions and 6 deletions

View File

@@ -46,12 +46,12 @@
var/effective_dose = dose
if(issmall(M)) effective_dose *= 2
var/is_vampire = 0 //VOREStation Edit START
var/is_vampire = FALSE //VOREStation Edit START
if(ishuman(M))
var/mob/living/carbon/human/H = M
if(H.species.organic_food_coeff == 0)
H.adjust_nutrition(removed)
is_vampire = 1 //VOREStation Edit END
if(H.species.bloodsucker)
H.adjust_nutrition(removed*30)
is_vampire = TRUE //VOREStation Edit END
if(alien == IS_SLIME) // Treat it like nutriment for the jello, but not equivalent.
if(data["species"] == M.species.name) // Unless it's Promethean goo, then refill this one's goo.
M.inject_blood(src, volume * volume_mod)
@@ -65,10 +65,10 @@
return
if(effective_dose > 5)
if(is_vampire == 0) //VOREStation Edit.
if(!is_vampire) //VOREStation Edit.
M.adjustToxLoss(removed) //VOREStation Edit.
if(effective_dose > 15)
if(is_vampire == 0) //VOREStation Edit.
if(!is_vampire) //VOREStation Edit.
M.adjustToxLoss(removed) //VOREStation Edit.
if(data && data["virus2"])
var/list/vlist = data["virus2"]