mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
- added feedback logging of wizard, traitor and changeling success as well as individual objectives success.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3131 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -178,8 +178,10 @@
|
||||
for(var/datum/objective/objective in changeling.objectives)
|
||||
if(objective.check_completion())
|
||||
world << "<B>Objective #[count]</B>: [objective.explanation_text] \green <B>Success</B>"
|
||||
feedback_add_details("changeling_objective","[objective.type]|SUCCESS")
|
||||
else
|
||||
world << "<B>Objective #[count]</B>: [objective.explanation_text] \red Failed"
|
||||
feedback_add_details("changeling_objective","[objective.type]|FAIL")
|
||||
changelingwin = 0
|
||||
count++
|
||||
|
||||
@@ -189,8 +191,10 @@
|
||||
|
||||
if(changelingwin)
|
||||
world << "<B>The changeling was successful!<B>"
|
||||
feedback_add_details("changeling_success","SUCCESS")
|
||||
else
|
||||
world << "<B>The changeling has failed!<B>"
|
||||
feedback_add_details("changeling_success","FAIL")
|
||||
return 1
|
||||
|
||||
/datum/changeling //stores changeling powers, changeling recharge thingie, changeling absorbed DNA and changeling ID (for changeling hivemind)
|
||||
|
||||
@@ -174,15 +174,19 @@
|
||||
for(var/datum/objective/objective in traitor.objectives)
|
||||
if(objective.check_completion())
|
||||
world << "<B>Objective #[count]</B>: [objective.explanation_text] \green <B>Success</B>"
|
||||
feedback_add_details("traitor_objective","[objective.type]|SUCCESS")
|
||||
else
|
||||
world << "<B>Objective #[count]</B>: [objective.explanation_text] \red Failed"
|
||||
feedback_add_details("traitor_objective","[objective.type]|FAIL")
|
||||
traitorwin = 0
|
||||
count++
|
||||
|
||||
if(traitorwin)
|
||||
world << "<B>The [special_role_text] was successful!<B>"
|
||||
feedback_add_details("traitor_success","SUCCESS")
|
||||
else
|
||||
world << "<B>The [special_role_text] has failed!<B>"
|
||||
feedback_add_details("traitor_success","FAIL")
|
||||
return 1
|
||||
|
||||
|
||||
|
||||
@@ -222,15 +222,19 @@
|
||||
for(var/datum/objective/objective in wizard.objectives)
|
||||
if(objective.check_completion())
|
||||
world << "<B>Objective #[count]</B>: [objective.explanation_text] \green <B>Success</B>"
|
||||
feedback_add_details("wizard_objective","[objective.type]|SUCCESS")
|
||||
else
|
||||
world << "<B>Objective #[count]</B>: [objective.explanation_text] \red Failed"
|
||||
feedback_add_details("wizard_objective","[objective.type]|FAIL")
|
||||
wizardwin = 0
|
||||
count++
|
||||
|
||||
if(wizard.current && wizard.current.stat!=2 && wizardwin)
|
||||
world << "<B>The wizard was successful!<B>"
|
||||
feedback_add_details("wizard_success","SUCCESS")
|
||||
else
|
||||
world << "<B>The wizard has failed!<B>"
|
||||
feedback_add_details("wizard_success","FAIL")
|
||||
return 1
|
||||
|
||||
//OTHER PROCS
|
||||
|
||||
Reference in New Issue
Block a user