From 85c0c763dfa4ca6ff81e29fa17fd1d921e0843f3 Mon Sep 17 00:00:00 2001 From: Alberyk Date: Sat, 5 Aug 2017 15:04:18 -0300 Subject: [PATCH] Fixes throat slitting being broken (#3232) -fixes being unable to slit people's throat -fixes the sprite of make's custom item being wrong -fixes the infestation event using the incinerator area, something that don't seems to exist anymore, it is replaced with the waste disposal now --- code/modules/events/infestation.dm | 4 ++-- .../mob/living/carbon/human/human_defense.dm | 3 +++ icons/obj/custom_items/make_items.dmi | Bin 1418 -> 1428 bytes 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/code/modules/events/infestation.dm b/code/modules/events/infestation.dm index 8b427efd2dd..b14ec08cbeb 100644 --- a/code/modules/events/infestation.dm +++ b/code/modules/events/infestation.dm @@ -68,8 +68,8 @@ spawn_area_type = /area/engineering/atmos locstrings[numlocs] = "atmospherics" if(LOC_INCIN) - spawn_area_type = /area/maintenance/incinerator - locstrings[numlocs] = "the incinerator" + spawn_area_type = /area/maintenance/disposal + locstrings[numlocs] = "waste disposal" if(LOC_CHAPEL) spawn_area_type = /area/chapel/main locstrings[numlocs] = "the chapel" diff --git a/code/modules/mob/living/carbon/human/human_defense.dm b/code/modules/mob/living/carbon/human/human_defense.dm index b3f287255f9..b7d0ec9fa1a 100644 --- a/code/modules/mob/living/carbon/human/human_defense.dm +++ b/code/modules/mob/living/carbon/human/human_defense.dm @@ -151,6 +151,9 @@ emp_act ..() /mob/living/carbon/human/resolve_item_attack(obj/item/I, mob/living/user, var/target_zone) + if(check_attack_throat(I, user)) + return null + if(user == src) // Attacking yourself can't miss return target_zone diff --git a/icons/obj/custom_items/make_items.dmi b/icons/obj/custom_items/make_items.dmi index a124f278f2a102c77fc15b3997028fe085f3d96d..1c4c86aa13752be7f07ccdb946d18ce660681fee 100644 GIT binary patch delta 1187 zcmZ{iYgE#A0ET}c8l5cXSw|qTw2srHkrj$rVG)Q|D6^T@FuOR9TUSn;C-5{1+D z#Ga|qDnioTPvE=ts;ebV7U%VQC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