fixed brains with no ckey, made borer roundend report much better, borer total hosts is 1+humans/6 instead of 6+humans/7, hopefully fixed issue with multiple ghosts entering borer

This commit is contained in:
uraniummeltdown
2016-11-10 22:18:56 +04:00
parent c75a0f0430
commit effed6a69f
4 changed files with 43 additions and 21 deletions

View File

@@ -31,17 +31,13 @@
C.update_hair()
/obj/item/organ/brain/Remove(mob/living/carbon/C, special = 0)
..()
if(!special)
var/mob/living/simple_animal/borer/B = owner.has_brain_worms()
if(B)
if(C.has_brain_worms())
var/mob/living/simple_animal/borer/B = C.has_brain_worms()
B.leave_victim() //Should remove borer if the brain is removed - RR
if(owner.mind)
src.transfer_identity(C)
if(ishuman(owner))
var/mob/living/carbon/human/H = owner
H.update_hair()
. = ..()
transfer_identity(C)
C.update_hair()
/obj/item/organ/brain/prepare_eat()
return // Too important to eat.