[MIRROR] [bounty code moment] Adds a way to view the 'Server's Last Round' (#2667)

* [bounty code moment] Adds a way to view the 'Server's Last Round' (#55646)

* Adds "View Last Server Round Report" option.

* [bounty code moment] Adds a way to view the 'Server's Last Round'

Co-authored-by: Emmanuel S <mrdoomboyo@gmail.com>
This commit is contained in:
SkyratBot
2021-01-13 04:25:29 +01:00
committed by GitHub
parent 2cf9bbf291
commit b23690f720
3 changed files with 48 additions and 7 deletions
+3
View File
@@ -257,6 +257,9 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
if(fexists(roundend_report_file()))
add_verb(src, /client/proc/show_previous_roundend_report)
if(fexists("data/last_roundend/server_last_roundend_report.html"))
add_verb(src, /client/proc/show_servers_last_roundend_report)
var/full_version = "[byond_version].[byond_build ? byond_build : "xxx"]"
log_access("Login: [key_name(src)] from [address ? address : "localhost"]-[computer_id] || BYOND v[full_version]")
+8 -1
View File
@@ -339,7 +339,14 @@ GLOBAL_VAR_INIT(normal_ooc_colour, "#002eb8")
set category = "OOC"
set desc = "View the last round end report you've seen"
SSticker.show_roundend_report(src, TRUE)
SSticker.show_roundend_report(src, report_type = PERSONAL_LAST_ROUND)
/client/proc/show_servers_last_roundend_report()
set name = "Server's Last Round"
set category = "OOC"
set desc = "View the last round end report from this server"
SSticker.show_roundend_report(src, report_type = SERVER_LAST_ROUND)
/client/verb/fit_viewport()
set name = "Fit Viewport"