From 62c95b019eae419c9177ed54d479ed6a8685fc8c Mon Sep 17 00:00:00 2001 From: Voliker Date: Sun, 8 Jun 2014 17:19:56 +0600 Subject: [PATCH] =?UTF-8?q?=D0=92=D1=80=D0=BE=D0=B4=D0=B5=20=D0=BD=D0=B0?= =?UTF-8?q?=D0=BA=D0=BE=D0=BD=D0=B5=D1=86-=D1=82=D0=BE=20=D0=BF=D0=BE?= =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=D0=B8=D0=BB=20=D0=B1=D0=BE=D1=80=D0=B5?= =?UTF-8?q?=D1=80=D0=BE=D0=B2.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/mob/living/simple_animal/borer.dm | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/code/modules/mob/living/simple_animal/borer.dm b/code/modules/mob/living/simple_animal/borer.dm index 699c0bf..0a0c2c5 100644 --- a/code/modules/mob/living/simple_animal/borer.dm +++ b/code/modules/mob/living/simple_animal/borer.dm @@ -58,7 +58,6 @@ ..() - if(host) if(!stat && !host.stat) @@ -218,8 +217,7 @@ src << "You cannot do that in your current state." return -// А такого у нас в билде нет. Вот говно, да? -// if(host.internal_organs_by_name["brain"]) //this should only run in admin-weirdness situations, but it's here non the less - RR +// if(!host.internal_organs_by_name["brain"]) //this should only run in admin-weirdness situations, but it's here non the less - RR // src << "There is no brain here for us to command!" // return @@ -339,8 +337,14 @@ mob/living/simple_animal/borer/proc/detatch() host_brain.name = "host brain" host_brain.real_name = "host brain" + var/mob/living/H = host host = null +// for(var/atom/A in H.contents) +// if(istype(A,/mob/living/simple_animal/borer) || istype(A,/obj/item/weapon/holder)) +// return +// H.status_flags &=~PASSEMOTES + /mob/living/simple_animal/borer/verb/infest() set category = "Alien" set name = "Infest" @@ -355,9 +359,7 @@ mob/living/simple_animal/borer/proc/detatch() return var/list/choices = list() - -// Шайтан процессы! -// for(var/mob/living/carbon/C in view(1,src)) + for(var/mob/living/carbon/C in view(1,src)) // if(C.stat != 2 && src.Adjacent(C)) // choices += C @@ -371,11 +373,8 @@ mob/living/simple_animal/borer/proc/detatch() src << "You cannot infest someone who is already infested!" return -// Шайтан часть кода! // if(istype(M,/mob/living/carbon/human)) // var/mob/living/carbon/human/H = M - -// Простите, но наш билд не может в такую проверку! // if(H.check_head_coverage()) // src << "You cannot get through that host's protective gear." // return @@ -405,13 +404,14 @@ mob/living/simple_animal/borer/proc/detatch() src.host = M src.loc = M - if(istype(M,/mob/living/carbon/human)) - var/mob/living/carbon/human/H = M - var/datum/organ/external/head = H.get_organ("head") - head.implants += src - - host_brain.name = M.name - host_brain.real_name = M.real_name +// if(istype(M,/mob/living/carbon/human)) +// var/mob/living/carbon/human/H = M +// var/datum/organ/external/head = H.get_organ("head") +// head.implants += src +// +// host_brain.name = M.name +// host_brain.real_name = M.real_name +// host.status_flags |= PASSEMOTES return else @@ -504,4 +504,4 @@ mob/living/simple_animal/borer/proc/transfer_personality(var/client/candidate) src.mind = candidate.mob.mind src.ckey = candidate.ckey if(src.mind) - src.mind.assigned_role = "Cortical Borer" \ No newline at end of file + src.mind.assigned_role = "Cortical Borer"