Stops vampires from draining blood if their mouth is blocked (#9157)

What it says in the title. Should stop vampires from sucking people while wearing space suits.
This commit is contained in:
Alberyk
2020-06-20 11:32:49 +03:00
committed by GitHub
parent a40d7fef7e
commit 75712e03bb
2 changed files with 10 additions and 0 deletions
@@ -41,6 +41,10 @@
if(T.head && (T.head.item_flags & AIRTIGHT))
to_chat(src, span("warning", "[T]'s headgear is blocking the way to the neck."))
return
var/obj/item/blocked = check_mouth_coverage()
if(blocked)
to_chat(src, SPAN_WARNING("\The [blocked] is in the way of your fangs!"))
return
if (vampire.status & VAMP_DRAINING)
to_chat(src, span("warning", "Your fangs are already sunk into a victim's neck!"))
return
+6
View File
@@ -0,0 +1,6 @@
author: Alberyk
delete-after: True
changes:
- tweak: "Vampires can no longer suck blood if their own mouth is being blocked by something."