From 3d12f6150d5120d61b7e94ed107b3d2ebc3da1bc Mon Sep 17 00:00:00 2001 From: JaySparrow Date: Sun, 9 Aug 2020 19:32:15 -0500 Subject: [PATCH] Update traitor_lewd.dm Cut out old comments --- hyperstation/code/gamemode/traitor_lewd.dm | 41 ---------------------- 1 file changed, 41 deletions(-) diff --git a/hyperstation/code/gamemode/traitor_lewd.dm b/hyperstation/code/gamemode/traitor_lewd.dm index e05164ac..72bc8fb2 100644 --- a/hyperstation/code/gamemode/traitor_lewd.dm +++ b/hyperstation/code/gamemode/traitor_lewd.dm @@ -151,31 +151,13 @@ GLOBAL_LIST_INIT(hyper_special_roles, list( return 0 /datum/antagonist/traitor/lewd/proc/forge_objectives() - //to_chat(world, "TEST: lewd/forge_objectives() called") forge_single_objective() -/* -/datum/antagonist/traitor/lewd/proc/forge_objectives() - //to_chat(world, "TEST: lewd/forge_objectives() called") - var/datum/mind/target = forge_single_objective() - - var/datum/objective/protect/protect_objective = new /datum/objective/protect - protect_objective.owner = owner - protect_objective.target = target - protect_objective.explanation_text = "Protect [target.name]. Keep them safe." - owner.objectives += protect_objective - - var/datum/objective/survive/survive_objective = new /datum/objective/survive - survive_objective.owner = owner - owner.objectives += survive_objective -*/ /datum/antagonist/traitor/lewd/forge_human_objectives() - //to_chat(world, "TEST: lewd/forge_human_objectives() called") forge_single_objective() /datum/antagonist/traitor/lewd/forge_single_objective() - //to_chat(world, "TEST: lewd/forge_single_objective() called") var/datum/objective/noncon/noncon_objective = new noncon_objective.owner = owner noncon_objective.target = noncon_objective.find_target() @@ -189,7 +171,6 @@ GLOBAL_LIST_INIT(hyper_special_roles, list( give_codewords() /datum/antagonist/traitor/lewd/on_gain() - //to_chat(world, "TEST: lewd/on_gain() called") if(owner.current && isAI(owner.current)) traitor_kind = TRAITOR_AI @@ -200,7 +181,6 @@ GLOBAL_LIST_INIT(hyper_special_roles, list( finalize_traitor() /datum/antagonist/traitor/lewd/finalize_traitor() - //to_chat(world, "TEST: lewd/finalize_traitor() called") switch(traitor_kind) if(TRAITOR_AI) add_law_zero() @@ -222,28 +202,11 @@ GLOBAL_LIST_INIT(hyper_special_roles, list( /datum/objective/noncon ..() - //var/target_flag=0 - //var/mob/living/targets = list() - - /* //This code can't go here, for the life of me I cannot tell you why - for(var/mob/living/carbon/human/potential_target in GLOB.player_list) - if(potential_target.client.prefs.noncon) - //if(!(potential_target.job in potential_target.restricted_jobs)) - targets += potential_target - if(targets.len) - target = pick(targets) - else - target = null - */ /datum/objective/noncon/New(var/datum/mind/_owner) GLOB.objectives += src // CITADEL EDIT FOR CRYOPODS - //to_chat(world, "TEST: noncon/New() called") - if(_owner) owner = _owner - //if(text) - //explanation_text = text @@ -252,10 +215,6 @@ GLOBAL_LIST_INIT(hyper_special_roles, list( //to_chat(world, "TEST: noncon/find_target() called") var/list/datum/mind/targets = list() var/list/datum/mind/owners = get_owners() - //var/mob/living/carbon/human/T = null - //for(var/mob/living/carbon/human/candidate in GLOB.player_list) - //for(var/datum/mind/possible_target in get_crewmember_minds()) - //to_chat(world, "[owner.name]") for(var/datum/mind/candidate in SSticker.minds) if (!(candidate in owners) && ishuman(candidate.current)) if(candidate.current.client.prefs.noncon == 1)