COMIC mutation bugfix

This commit is contained in:
ZomgPonies
2015-02-21 13:25:09 -05:00
parent 9b60ee0f0b
commit 660ce3454b
2 changed files with 3 additions and 11 deletions
-10
View File
@@ -158,14 +158,4 @@
mutation=M_COMIC
New()
..()
block = COMICBLOCK
OnSay(var/mob/M, var/message)
if(ishuman(M))
var/mob/living/carbon/human/H = M
if((H.wear_id && istype(H.wear_id,/obj/item/weapon/card/id/syndicate)) && (H.wear_mask && istype(H.wear_mask,/obj/item/clothing/mask/gas/voice)))
return message
if(message)
message = "<span class='sans'>[message]</span>"
return message
+3 -1
View File
@@ -276,7 +276,7 @@
message = pick("NEEIIGGGHHHH!", "NEEEIIIIGHH!", "NEIIIGGHH!", "HAAWWWWW!", "HAAAWWW!")
verb = pick("whinnies","neighs", "says")
handled = 1
if(dna)
for(var/datum/dna/gene/gene in dna_genes)
if(!gene.block)
@@ -309,6 +309,8 @@
message = uppertext(message)
verb = "yells loudly"
if(M_COMIC in mutations)
message = "<span class='sans'>[message]</span>"
returns[1] = message
returns[2] = verb
returns[3] = handled