Adds an admin button to send nuke ops reinforcements (#79695)

## About The Pull Request

Often times I want to send a second wave of nukies if the first wave
completely flukes, but sending reinforcements is hard (I don't want to
trigger a whole new nuke team, the Infiltrator is deployed to NT space,
etc).

So I add a button to check-antagonists that allow admins to one-click
send more nuke ops.


![image](https://github.com/tgstation/tgstation/assets/51863163/a36484b7-9d8b-4741-a09d-e9c4f8303c52)

I also took the opportunity to polish up the other admin button,
particularly giving a reminder if it's being forced under the pop limit.

## Changelog

🆑 Melbert
admin: Adds a button to check-antagonists that allows admins to send
Nuke Op reinforcements with a single button
admin: Nuke Ops check antagonists now show you full war status (declared
/ not declared)
fix: Fixes multiple nuke teams (or an admin) being able to declare war
at once
/🆑
This commit is contained in:
MrMelbert
2023-11-19 12:45:59 -06:00
committed by GitHub
parent d58d707761
commit 73e02ce3ec
4 changed files with 127 additions and 10 deletions
+4
View File
@@ -1724,6 +1724,10 @@
var/obj/item/nuclear_challenge/button = locate(href_list["force_war"])
button.force_war()
else if(href_list["give_reinforcement"])
var/datum/team/nuclear/nuketeam = locate(href_list["give_reinforcement"]) in GLOB.antagonist_teams
nuketeam.admin_spawn_reinforcement(usr)
else if (href_list["interview"])
if(!check_rights(R_ADMIN))
return