From 29e15c8750709f0a50b4a71e5691abc6468788d7 Mon Sep 17 00:00:00 2001 From: DZD Date: Thu, 13 Aug 2015 11:13:12 -0400 Subject: [PATCH] Prevents vampires sucking blood from monkeys --- .../mob/living/carbon/human/human_attackhand.dm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human_attackhand.dm b/code/modules/mob/living/carbon/human/human_attackhand.dm index a8d9d90958b..4a42d73357b 100644 --- a/code/modules/mob/living/carbon/human/human_attackhand.dm +++ b/code/modules/mob/living/carbon/human/human_attackhand.dm @@ -101,16 +101,19 @@ if(M.zone_sel && M.zone_sel.selecting == "head" && src != M) if(M.mind && M.mind.vampire && (M.mind in ticker.mode.vampires) && !M.mind.vampire.draining) if((head && (head.flags & HEADCOVERSMOUTH)) || (wear_mask && (wear_mask.flags & MASKCOVERSMOUTH))) - M << "\red Remove their mask!" + M << "Remove their mask!" return 0 if((M.head && (M.head.flags & HEADCOVERSMOUTH)) || (M.wear_mask && (M.wear_mask.flags & MASKCOVERSMOUTH))) - M << "\red Remove your mask!" + M << "Remove your mask!" return 0 if(mind && mind.vampire && (mind in ticker.mode.vampires)) - M << "\red Your fangs fail to pierce [src.name]'s cold flesh" + M << "Your fangs fail to pierce [src.name]'s cold flesh" return 0 if(SKELETON in mutations) - M << "\red There is no blood in a skeleton!" + M << "There is no blood in a skeleton!" + return 0 + if(issmall(src) && !ckey) //Monkeyized humans are okay, humanized monkeys are okey, monkeys are not. + M << "Blood from a monkey is useless!" return 0 //we're good to suck the blood, blaah M.handle_bloodsucking(src)