Admin create antagonist/re-roll antagonist (#4971)

## About The Pull Request

- Adds a prompt when an admin is removing someone's antagonist datum if
they would like to re-roll for a new antagonist to replace them
- Brings back the Create Antagonist verb
- When creating an antagonist, it tells the admin who was selected

## Why It's Good For The Game

Admin quality of life

## Changelog

🆑 LT3
admin: Admin button in the traitor panel to automatically re-roll
antagonists
admin: Admin create-antagonist verb
admin: Game logs now include what player gets turned into an antagonist
/🆑
This commit is contained in:
LT3
2026-01-05 23:37:09 +02:00
committed by GitHub
parent 11968ad33b
commit 4569cbbb2a
11 changed files with 99 additions and 3 deletions
+11
View File
@@ -461,6 +461,17 @@
else if (href_list["obj_announce"])
announce_objectives()
// BUBBER EDIT ADDITION BEGIN - ANTAG RE-ROLLING
else if (href_list["reroll_antag"])
var/datum/antagonist/antag = locate(href_list["reroll_antag"]) in antag_datums
if(!istype(antag))
to_chat(usr, span_warning("Invalid antagonist ref to be removed."))
return
SSgamemode.reroll_antagonist(antag_name = name)
antag.admin_remove(usr)
// BUBBER EDIT ADDITION END - ANTAG RE-ROLLING
//Something in here might have changed your mob
if(self_antagging && (!usr || !usr.client) && current.client)
usr = current