mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Round-end summary now also lists job
This commit is contained in:
@@ -163,20 +163,8 @@ var/list/possible_changeling_IDs = list("Alpha","Beta","Gamma","Delta","Epsilon"
|
||||
if(changelings.len)
|
||||
var/text = "<FONT size = 2><B>The changelings were:</B></FONT>"
|
||||
for(var/datum/mind/changeling in changelings)
|
||||
var/changelingwin = 1
|
||||
|
||||
text += "<br>[changeling.key] was [changeling.name] ("
|
||||
if(changeling.current)
|
||||
if(changeling.current.stat == DEAD)
|
||||
text += "died"
|
||||
else
|
||||
text += "survived"
|
||||
if(changeling.current.real_name != changeling.name)
|
||||
text += " as [changeling.current.real_name]"
|
||||
else
|
||||
text += "body destroyed"
|
||||
changelingwin = 0
|
||||
text += ")"
|
||||
var/changelingwin = changeling.current
|
||||
text += printplayer(changeling)
|
||||
|
||||
//Removed sanity if(changeling) because we -want- a runtime to inform us that the changelings list is incorrect and needs to be fixed.
|
||||
text += "<br><b>Changeling ID:</b> [changeling.changeling.changelingID]."
|
||||
@@ -200,6 +188,7 @@ var/list/possible_changeling_IDs = list("Alpha","Beta","Gamma","Delta","Epsilon"
|
||||
else
|
||||
text += "<br><font color='red'><B>The changeling has failed.</B></font>"
|
||||
feedback_add_details("changeling_success","FAIL")
|
||||
text += "<br>"
|
||||
|
||||
world << text
|
||||
|
||||
|
||||
@@ -334,17 +334,7 @@
|
||||
if( cult.len || (ticker && istype(ticker.mode,/datum/game_mode/cult)) )
|
||||
var/text = "<FONT size = 2><B>The cultists were:</B></FONT>"
|
||||
for(var/datum/mind/cultist in cult)
|
||||
|
||||
text += "<br>[cultist.key] was [cultist.name] ("
|
||||
if(cultist.current)
|
||||
if(cultist.current.stat == DEAD)
|
||||
text += "died"
|
||||
else
|
||||
text += "survived"
|
||||
if(cultist.current.real_name != cultist.name)
|
||||
text += " as [cultist.current.real_name]"
|
||||
else
|
||||
text += "body destroyed"
|
||||
text += ")"
|
||||
text += printplayer(cultist)
|
||||
text += "<br>"
|
||||
|
||||
world << text
|
||||
|
||||
@@ -509,4 +509,20 @@ proc/get_nt_opposed()
|
||||
player.current << "\blue Your current objectives:"
|
||||
for(var/datum/objective/objective in player.objectives)
|
||||
player.current << "<B>Objective #[obj_count]</B>: [objective.explanation_text]"
|
||||
obj_count++
|
||||
obj_count++
|
||||
|
||||
/datum/game_mode/proc/printplayer(var/datum/mind/ply)
|
||||
var/role = "\improper[ply.assigned_role]"
|
||||
var/text = "<br><b>[ply.name]</b>(<b>[ply.key]</b>) as \a <b>[role]</b> ("
|
||||
if(ply.current)
|
||||
if(ply.current.stat == DEAD)
|
||||
text += "died"
|
||||
else
|
||||
text += "survived"
|
||||
if(ply.current.real_name != ply.name)
|
||||
text += " as <b>[ply.current.real_name]</b>"
|
||||
else
|
||||
text += "body destroyed"
|
||||
text += ")"
|
||||
|
||||
return text
|
||||
|
||||
@@ -383,7 +383,7 @@ var/global/datum/controller/gameticker/ticker
|
||||
var/turf/playerTurf = get_turf(Player)
|
||||
if(emergency_shuttle.departed && emergency_shuttle.evac)
|
||||
if(playerTurf.z != 2)
|
||||
Player << "<font color='blue'><b>You managed to survive, but were marooned on [station_name()]...</b></font>"
|
||||
Player << "<font color='blue'><b>You managed to survive, but were marooned on [station_name()] as [Player.real_name]...</b></font>"
|
||||
else
|
||||
Player << "<font color='green'><b>You managed to survive the events on [station_name()] as [Player.real_name].</b></font>"
|
||||
else if(playerTurf.z == 2)
|
||||
@@ -391,7 +391,7 @@ var/global/datum/controller/gameticker/ticker
|
||||
else if(issilicon(Player))
|
||||
Player << "<font color='green'><b>You remain operational after the events on [station_name()] as [Player.real_name].</b></font>"
|
||||
else
|
||||
Player << "<font color='blue'><b>You missed the crew transfer after events on [station_name()] as [Player.real_name].</b></font>"
|
||||
Player << "<font color='blue'><b>You missed the crew transfer after the events on [station_name()] as [Player.real_name].</b></font>"
|
||||
else
|
||||
Player << "<font color='red'><b>You did not survive the events on [station_name()]...</b></font>"
|
||||
world << "<br>"
|
||||
|
||||
@@ -180,18 +180,7 @@
|
||||
var/text = "<FONT size = 2><B>The traitors were:</B></FONT>"
|
||||
for(var/datum/mind/traitor in traitors)
|
||||
var/traitorwin = 1
|
||||
|
||||
text += "<br>[traitor.key] was [traitor.name] ("
|
||||
if(traitor.current)
|
||||
if(traitor.current.stat == DEAD)
|
||||
text += "died"
|
||||
else
|
||||
text += "survived"
|
||||
if(traitor.current.real_name != traitor.name)
|
||||
text += " as [traitor.current.real_name]"
|
||||
else
|
||||
text += "body destroyed"
|
||||
text += ")"
|
||||
text += printplayer(traitor)
|
||||
|
||||
if(traitor.objectives.len)//If the traitor had no objectives, don't need to process this.
|
||||
var/count = 1
|
||||
@@ -218,6 +207,8 @@
|
||||
text += "<br><font color='red'><B>The [special_role_text] has failed!</B></font>"
|
||||
feedback_add_details("traitor_success","FAIL")
|
||||
|
||||
text += "<br>"
|
||||
|
||||
world << text
|
||||
return 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user