Roundend report refactor

This commit is contained in:
AnturK
2017-12-11 17:57:20 +01:00
committed by CitadelStationBot
parent 2e46154344
commit 6bfca33a78
72 changed files with 1928 additions and 760 deletions
+3 -3
View File
@@ -26,11 +26,11 @@
/datum/station_goal/proc/check_completion()
return completed
/datum/station_goal/proc/print_result()
/datum/station_goal/proc/get_result()
if(check_completion())
to_chat(world, "<b>Station Goal</b> : [name] : <span class='greenannounce'>Completed!</span>")
return "<li>[name] : <span class='greentext'>Completed!</span></li>"
else
to_chat(world, "<b>Station Goal</b> : [name] : <span class='boldannounce'>Failed!</span>")
return "<li>[name] : <span class='redtext'>Failed!</span></li>"
/datum/station_goal/Destroy()
SSticker.mode.station_goals -= src