Ghommies suggestions and renames a proc
This commit is contained in:
@@ -854,7 +854,7 @@
|
||||
/mob/living/carbon/proc/can_defib()
|
||||
var/tlimit = DEFIB_TIME_LIMIT * 10
|
||||
var/obj/item/organ/heart = getorgan(/obj/item/organ/heart)
|
||||
if(suiciding || hellbound || HAS_TRAIT(src, TRAIT_HUSK) || AmBloodsucker())
|
||||
if(suiciding || hellbound || HAS_TRAIT(src, TRAIT_HUSK) || AmBloodsucker(src))
|
||||
return
|
||||
if((world.time - timeofdeath) > tlimit)
|
||||
return
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
to_chat(H, "<span class='notice'>You're already full!</span>")
|
||||
return
|
||||
//This checks whether or not they are wearing a garlic clove on their neck
|
||||
if(!sucking_checks(victim, TRUE, FALSE))
|
||||
if(!blood_sucking_checks(victim, TRUE, FALSE))
|
||||
return
|
||||
if(victim.stat == DEAD)
|
||||
to_chat(H, "<span class='notice'>You need a living victim!</span>")
|
||||
@@ -96,7 +96,7 @@
|
||||
to_chat(H, "<span class='warning'>[victim] is blessed! You stop just in time to avoid catching fire.</span>")
|
||||
return
|
||||
//Here we check now for both the garlic cloves on the neck and for blood in the victims bloodstream.
|
||||
if(!sucking_checks(victim, TRUE, TRUE))
|
||||
if(!blood_sucking_checks(victim, TRUE, TRUE))
|
||||
return
|
||||
if(!do_after(H, 30, target = victim))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user