Roundend report refactor
This commit is contained in:
committed by
CitadelStationBot
parent
2e46154344
commit
6bfca33a78
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user