From f304df5b05522d9925e20612b0cd6af94ccf9e6d Mon Sep 17 00:00:00 2001 From: NicholasDV Date: Sun, 9 Jun 2013 04:47:10 -0400 Subject: [PATCH] Added the ability to give traitors all objectives. Specifically, admins were unable to give players, traitors, that is, the objective to brig/maim someone. This gives them the ability view the traitor panel. --- code/datums/mind.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/datums/mind.dm b/code/datums/mind.dm index c472c22b581..175e622788a 100644 --- a/code/datums/mind.dm +++ b/code/datums/mind.dm @@ -370,13 +370,13 @@ datum/mind if(!def_value)//If it's a custom objective, it will be an empty string. def_value = "custom" - var/new_obj_type = input("Select objective type:", "Objective type", def_value) as null|anything in list("assassinate", "debrain", "protect", "prevent", "hijack", "escape", "survive", "steal", "download", "nuclear", "capture", "absorb", "custom") + var/new_obj_type = input("Select objective type:", "Objective type", def_value) as null|anything in list("assassinate", "debrain", "protect", "prevent", "harm", "brig", "hijack", "escape", "survive", "steal", "download", "nuclear", "capture", "absorb", "custom") if (!new_obj_type) return var/datum/objective/new_objective = null switch (new_obj_type) - if ("assassinate","protect","debrain") + if ("assassinate","protect","debrain", "harm", "brig") //To determine what to name the objective in explanation text. var/objective_type_capital = uppertext(copytext(new_obj_type, 1,2))//Capitalize first letter. var/objective_type_text = copytext(new_obj_type, 2)//Leave the rest of the text.