From 956efbef27bed6a4bec09d544ae83a858b95620c Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Sat, 16 Sep 2017 04:33:16 -0500 Subject: [PATCH] [MIRROR] Removes corgis as a facehugger target (#2791) * Removes corgis as a facehugger target (#30719) * Removes corgis as a facehugger target --- .../living/carbon/alien/special/facehugger.dm | 20 ++++--------------- .../mob/living/simple_animal/friendly/dog.dm | 8 -------- 2 files changed, 4 insertions(+), 24 deletions(-) diff --git a/code/modules/mob/living/carbon/alien/special/facehugger.dm b/code/modules/mob/living/carbon/alien/special/facehugger.dm index a2197baa9b..8b8b8d5761 100644 --- a/code/modules/mob/living/carbon/alien/special/facehugger.dm +++ b/code/modules/mob/living/carbon/alien/special/facehugger.dm @@ -119,14 +119,12 @@ Leap(hit_atom) /obj/item/clothing/mask/facehugger/proc/valid_to_attach(mob/living/M) - // valid targets: corgis, carbons except aliens and devils + // valid targets: carbons except aliens and devils // facehugger state early exit checks if(stat != CONSCIOUS) return FALSE if(attached) return FALSE - if(!iscorgi(M) && !iscarbon(M)) - return FALSE if(iscarbon(M)) // disallowed carbons if(isalien(M) || isdevil(M)) @@ -140,9 +138,8 @@ return FALSE // carbon, has head, not alien or devil, has no hivenode or embryo: valid return TRUE - else if(iscorgi(M)) - // corgi: valid - return TRUE + + return FALSE /obj/item/clothing/mask/facehugger/proc/Leap(mob/living/M) if(!valid_to_attach(M)) @@ -183,11 +180,6 @@ //ensure we detach once we no longer need to be attached addtimer(CALLBACK(src, .proc/detach), MAX_IMPREGNATION_TIME) - if (iscorgi(M)) - var/mob/living/simple_animal/pet/dog/corgi/C = M - loc = C - C.facehugger = src - C.regenerate_icons() if(!sterile) M.take_bodypart_damage(strength,0) //done here so that humans in helmets take damage @@ -221,10 +213,6 @@ if((!LC || LC.status != BODYPART_ROBOTIC) && !target.getorgan(/obj/item/organ/body_egg/alien_embryo)) new /obj/item/organ/body_egg/alien_embryo(target) - if(iscorgi(target)) - var/mob/living/simple_animal/pet/dog/corgi/C = target - src.loc = get_turf(C) - C.facehugger = null else target.visible_message("[src] violates [target]'s face!", \ "[src] violates [target]'s face!") @@ -263,7 +251,7 @@ if(M.getorgan(/obj/item/organ/alien/hivenode)) return 0 - if(iscorgi(M) || ismonkey(M)) + if(ismonkey(M)) return 1 var/mob/living/carbon/C = M diff --git a/code/modules/mob/living/simple_animal/friendly/dog.dm b/code/modules/mob/living/simple_animal/friendly/dog.dm index a6db2dc0b5..31c080c66c 100644 --- a/code/modules/mob/living/simple_animal/friendly/dog.dm +++ b/code/modules/mob/living/simple_animal/friendly/dog.dm @@ -29,7 +29,6 @@ var/shaved = 0 var/obj/item/inventory_head var/obj/item/inventory_back - var/facehugger var/nofur = 0 //Corgis that have risen past the material plane of existence. gold_core_spawnable = 2 @@ -456,13 +455,6 @@ back_icon = DF.get_overlay() add_overlay(back_icon) - if(facehugger) - var/mutable_appearance/facehugger_overlay = mutable_appearance('icons/mob/mask.dmi') - if(istype(src, /mob/living/simple_animal/pet/dog/corgi/puppy)) - facehugger_overlay.icon_state = "facehugger_corgipuppy" - else - facehugger_overlay.icon_state = "facehugger_corgi" - add_overlay(facehugger_overlay) if(pcollar) add_overlay(collar) add_overlay(pettag)