From 26f6964939331995d769a60b98e50eccbdd80b98 Mon Sep 17 00:00:00 2001 From: Ccomp5950 Date: Thu, 23 Jan 2014 21:39:25 -0600 Subject: [PATCH] Traitor Panel Bugfix: Adds the convert verb to RevHeads made using the traitor panel Also removes it if you use traitor panel to make them a regular employee using the tator panel. --- code/datums/mind.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/datums/mind.dm b/code/datums/mind.dm index 7cebf4f6bac..22ce6cb79b6 100644 --- a/code/datums/mind.dm +++ b/code/datums/mind.dm @@ -550,6 +550,7 @@ datum/mind current << "\red You have been brainwashed! You are no longer a head revolutionary!" ticker.mode.update_rev_icons_removed(src) special_role = null + current.verbs -= /mob/living/carbon/human/proc/RevConvert log_admin("[key_name_admin(usr)] has de-rev'ed [current].") if("rev") @@ -570,7 +571,7 @@ datum/mind if(src in ticker.mode.revolutionaries) ticker.mode.revolutionaries -= src ticker.mode.update_rev_icons_removed(src) - current << "\red You have proved your devotion to revoltion! Yea are a head revolutionary now!" + current << "\red You have proved your devotion to revoltion! You are a head revolutionary now!" else if(!(src in ticker.mode.head_revolutionaries)) current << "\blue You are a member of the revolutionaries' leadership now!" else @@ -586,6 +587,7 @@ datum/mind rev_obj.explanation_text = "Assassinate [O.target.name], the [O.target.assigned_role]." objectives += rev_obj ticker.mode.greet_revolutionary(src,0) + current.verbs += /mob/living/carbon/human/proc/RevConvert ticker.mode.head_revolutionaries += src ticker.mode.update_rev_icons_added(src) special_role = "Head Revolutionary"