mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 19:14:15 +01:00
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.  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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user