Borer removal, control, release of control, host death.

This commit is contained in:
Zuhayr
2013-08-09 18:10:55 -07:00
parent 4a4249fd6e
commit 7aa8d00e70
4 changed files with 80 additions and 1 deletions
+6 -1
View File
@@ -166,7 +166,7 @@
if (affected.implants.len)
var/obj/item/weapon/obj = affected.implants[1]
var/obj/item/obj = affected.implants[1]
if(istype(obj,/obj/item/weapon/implant))
var/obj/item/weapon/implant/imp = obj
@@ -181,6 +181,11 @@
user.visible_message("\blue [user] takes something out of incision on [target]'s [affected.display_name] with \the [tool].", \
"\blue You take [obj] out of incision on [target]'s [affected.display_name]s with \the [tool]." )
affected.implants -= obj
//Handle possessive brain borers.
if(istype(obj,/mob/living/simple_animal/borer))
target.release_control()
obj.loc = get_turf(target)
if(istype(obj,/obj/item/weapon/implant))
var/obj/item/weapon/implant/imp = obj