Mixes and fixes

This commit is contained in:
Artur
2020-03-25 19:32:46 +02:00
parent fdc6a02eea
commit 7d22cb00d0
12 changed files with 97 additions and 115 deletions
-3
View File
@@ -1573,11 +1573,8 @@ GLOBAL_DATUM_INIT(dview_mob, /mob/dview, new)
return TRUE
if(check_neck)
if(istype(target.get_item_by_slot(SLOT_NECK), /obj/item/clothing/neck/garlic_necklace))
to_chat(src, "<span class='notice'>[target] is wearing a garlic clove around their neck! You cant drink from them while it is on them!</span>")
return FALSE
if(check_blood)
if(target.reagents.has_reagent(/datum/reagent/consumable/garlic))
to_chat(target, "<span class='warning'>[src] tries to bite you, but recoils in disgust!</span>")
to_chat(src, "<span class='warning'>[target] reeks of garlic! you can't bring yourself to drain such tainted blood.</span>")
return FALSE
return TRUE