Adds PASSEMOTES flag to setup.dm, dionaea and borers.

Conflicts:
	code/modules/mob/living/carbon/monkey/diona.dm
	code/modules/mob/living/simple_animal/borer.dm
This commit is contained in:
Zuhayr
2014-05-17 21:57:10 -04:00
committed by ZomgPonies
parent 8a17208a2b
commit 63f3e5ccd9
5 changed files with 38 additions and 15 deletions
@@ -76,6 +76,7 @@
D.attack_hand(M)
M << "You scoop up [src]."
src << "[M] scoops you up."
M.status_flags |= PASSEMOTES
return
..()
@@ -123,6 +124,8 @@
if(istype(M,/mob/living/carbon/human))
M << "You feel your being twine with that of [src] as it merges with your biomass."
M.status_flags |= PASSEMOTES
src << "You feel your being twine with that of [M] as you merge with its biomass."
src.loc = M
src.verbs += /mob/living/carbon/monkey/diona/proc/split
@@ -142,10 +145,19 @@
src.loc << "You feel a pang of loss as [src] splits away from your biomass."
src << "You wiggle out of the depths of [src.loc]'s biomass and plop to the ground."
var/mob/living/M = src.loc
src.loc = get_turf(src)
src.verbs -= /mob/living/carbon/monkey/diona/proc/split
src.verbs += /mob/living/carbon/monkey/diona/proc/merge
if(istype(M))
for(var/atom/A in M.contents)
if(istype(A,/mob/living/simple_animal/borer) || istype(A,/obj/item/weapon/holder))
return
M.status_flags &= ~PASSEMOTES
/mob/living/carbon/monkey/diona/verb/fertilize_plant()
set category = "Diona"
+7
View File
@@ -461,6 +461,13 @@
else if(istype(H.loc,/obj/item))
src << "You struggle free of [H.loc]."
H.loc = get_turf(H)
if(istype(M))
for(var/atom/A in M.contents)
if(istype(A,/mob/living/simple_animal/borer) || istype(A,/obj/item/weapon/holder))
return
M.status_flags &= ~PASSEMOTES
return
//Resisting control by an alien mind.
@@ -54,6 +54,7 @@
D.attack_hand(M)
M << "You scoop up [src]."
src << "[M] scoops you up."
M.status_flags |= PASSEMOTES
return
..()
+17 -15
View File
@@ -58,7 +58,6 @@
..()
if(host)
if(!stat && !host.stat)
@@ -335,8 +334,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"
@@ -390,23 +395,20 @@ mob/living/simple_animal/borer/proc/detatch()
if(M in view(1, src))
src << "You wiggle into [M]'s ear."
src.perform_infestation(M)
return
else
src << "They are no longer in range!"
return
if(!M.stat)
M << "Something disgusting and slimy wiggles into your ear!"
/mob/living/simple_animal/borer/proc/perform_infestation(var/mob/living/carbon/M)
src.host = M
src.loc = M
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
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_brain.name = M.name
host_brain.real_name = M.real_name
host.status_flags |= PASSEMOTES
/mob/living/simple_animal/borer/verb/ventcrawl()
set name = "Crawl through Vent"