From eea00b4d850fea7947bc830e93dcaa4bb93a669a Mon Sep 17 00:00:00 2001 From: deathride58 Date: Fri, 17 Nov 2017 23:29:09 -0500 Subject: [PATCH] Update wizard.dm --- code/game/gamemodes/wizard/wizard.dm | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/code/game/gamemodes/wizard/wizard.dm b/code/game/gamemodes/wizard/wizard.dm index dc392946da..6d691d197c 100644 --- a/code/game/gamemodes/wizard/wizard.dm +++ b/code/game/gamemodes/wizard/wizard.dm @@ -89,31 +89,21 @@ var/count = 1 var/wizardwin = 1 for(var/datum/objective/objective in wizard.objectives) -<<<<<<< HEAD if(istype(objective, /datum/objective/crew)) if(objective.check_completion()) text += "
Objective #[count]: [objective.explanation_text] Success! (Optional)" - SSblackbox.add_details("wizard_objective","[objective.type]|SUCCESS") + SSblackbox.record_feedback("nested tally", "wizard_objective", 1, list("[objective.type]", "SUCCESS")) else text += "
Objective #[count]: [objective.explanation_text] Fail. (Optional)" - SSblackbox.add_details("wizard_objective","[objective.type]|FAIL") + SSblackbox.record_feedback("nested tally", "wizard_objective", 1, list("[objective.type]", "FAIL")) else if(objective.check_completion()) text += "
Objective #[count]: [objective.explanation_text] Success!" - SSblackbox.add_details("wizard_objective","[objective.type]|SUCCESS") + SSblackbox.record_feedback("nested tally", "wizard_objective", 1, list("[objective.type]", "SUCCESS")) else text += "
Objective #[count]: [objective.explanation_text] Fail." - SSblackbox.add_details("wizard_objective","[objective.type]|FAIL") + SSblackbox.record_feedback("nested tally", "wizard_objective", 1, list("[objective.type]", "FAIL")) wizardwin = 0 -======= - if(objective.check_completion()) - text += "
Objective #[count]: [objective.explanation_text] Success!" - SSblackbox.record_feedback("nested tally", "wizard_objective", 1, list("[objective.type]", "SUCCESS")) - else - text += "
Objective #[count]: [objective.explanation_text] Fail." - SSblackbox.record_feedback("nested tally", "wizard_objective", 1, list("[objective.type]", "FAIL")) - wizardwin = 0 ->>>>>>> 8b19b49... JSON feedback (#32188) count++ if(wizard.current && wizard.current.stat!=2 && wizardwin)