mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 12:05:59 +01:00
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:
@@ -167,6 +167,7 @@ GLOBAL_VAR(antag_prototypes)
|
||||
else //Show removal and current one
|
||||
priority_sections |= antag_category
|
||||
antag_header_parts += span_bad("[current_antag.name]")
|
||||
antag_header_parts += "<a href='byond://?src=[REF(src)];reroll_antag=[REF(current_antag)]'>Remove and reassign to new player</a>" // BUBBER EDIT ADDITION - ANTAG RE-ROLLING
|
||||
antag_header_parts += "<a href='byond://?src=[REF(src)];remove_antag=[REF(current_antag)]'>Remove</a>"
|
||||
antag_header_parts += "<a href='byond://?src=[REF(src)];open_antag_vv=[REF(current_antag)]'>Open VV</a>"
|
||||
|
||||
@@ -180,7 +181,7 @@ GLOBAL_VAR(antag_prototypes)
|
||||
pref_source = prototype
|
||||
break
|
||||
if(pref_source.pref_flag)
|
||||
antag_header_parts += pref_source.enabled_in_preferences(src) ? "Enabled in Prefs" : "Disabled in Prefs"
|
||||
antag_header_parts += pref_source.enabled_in_preferences(src) ? "<br/>Enabled in Prefs" : "<br/>Disabled in Prefs" // BUBBER EDIT CHANGE - ORIGINAL: "Enabled in Prefs" : "Disabled in Prefs"
|
||||
|
||||
//Traitor : None | Traitor | IAA
|
||||
// Command1 | Command2 | Command3
|
||||
|
||||
Reference in New Issue
Block a user