Round End Summary Fixes (#9096)

Added an admin verb that ends the round smoothly, displaying the end round card.
    Wizard learned spells are now properly displayed at round.
    Antags added to gamemodes they don't belong in, now properly update the gamemode's antag template, allowing their things to be displayed at round end.
    Fixed a typo in the apprentice pebble spawn-in calling it an 'artificer pebble' in deadchat.
This commit is contained in:
Geeves
2020-06-20 10:34:07 +02:00
committed by GitHub
parent a074b7e224
commit 2ec9ae5701
8 changed files with 49 additions and 27 deletions
+16
View File
@@ -80,6 +80,7 @@ var/list/admin_verbs_admin = list(
/client/proc/toggle_antagHUD_restrictions,
/client/proc/allow_character_respawn, // Allows a ghost to respawn ,
/client/proc/allow_stationbound_reset,
/client/proc/end_round,
/client/proc/event_manager_panel,
/client/proc/empty_ai_core_toggle_latejoin,
/client/proc/aooc,
@@ -312,6 +313,7 @@ var/list/admin_verbs_hideable = list(
/datum/admins/proc/toggleaban,
/client/proc/create_poll,
/client/proc/allow_stationbound_reset,
/client/proc/end_round,
/client/proc/toggle_log_hrefs,
/datum/admins/proc/immreboot,
/client/proc/cmd_dev_bst,
@@ -1166,6 +1168,20 @@ var/list/admin_verbs_cciaa = list(
log_and_message_admins("admin-wiped [key_name_admin(target)]'s core.")
target.do_wipe_core()
/client/proc/end_round()
set name = "End Round"
set desc = "This button will end the round."
set category = "Server"
if(!check_rights(R_ADMIN))
return
if(alert(usr, "Are you sure you want to end the round?", "Confirm Round End", "No", "Yes") != "Yes")
return
log_and_message_admins("has ended the round with the End Round button.")
SSticker.game_tick(TRUE)
/client/proc/restart_sql()
set category = "Debug"
set name = "Reconnect SQL"