mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
Pacification bans + DNR bans + Respawn Bans (#3899)
* basic * Update sql_ban_system.dm * Update sql_ban_system.dm * a * a * Update skyrat_bans.dm * respawn ban
This commit is contained in:
@@ -290,7 +290,9 @@
|
||||
ROLE_MONKEY, ROLE_NINJA, ROLE_OPERATIVE,
|
||||
ROLE_OVERTHROW, ROLE_REV, ROLE_REVENANT,
|
||||
ROLE_REV_HEAD, ROLE_SYNDICATE,
|
||||
ROLE_TRAITOR, ROLE_WIZARD, ROLE_HIVE , ROLE_HERETIC)) //ROLE_REV_HEAD is excluded from this because rev jobbans are handled by ROLE_REV
|
||||
ROLE_TRAITOR, ROLE_WIZARD, ROLE_HIVE , ROLE_HERETIC,
|
||||
ROLE_ASSAULTOP), //ROLE_REV_HEAD is excluded from this because rev jobbans are handled by ROLE_REV //SKYRAT EDIT ADDITION - EXTA_BANS
|
||||
"Skyrat Ban Options" = list(BAN_PACIFICATION, BAN_DONOTREVIVE, BAN_RESPAWN)) //SKYRAT EDIT ADDITION - EXTRA_BANS
|
||||
for(var/department in long_job_lists)
|
||||
output += "<div class='column'><label class='rolegroup long [ckey(department)]'><input type='checkbox' name='[department]' class='hidden' [usr.client.prefs.tgui_fancy ? " onClick='toggle_checkboxes(this, \"_com\")'" : ""]>[department]</label><div class='content'>"
|
||||
break_counter = 0
|
||||
@@ -548,6 +550,11 @@
|
||||
is_admin = TRUE
|
||||
if(roles_to_ban[1] == "Server" && (!is_admin || (is_admin && applies_to_admins)))
|
||||
qdel(C)
|
||||
//SKYRAT EDIT ADDITION BEGIN - EXTRA_BANS
|
||||
if(BAN_PACIFICATION in roles_to_ban)
|
||||
if(ismob(C.mob))
|
||||
ADD_TRAIT(C.mob, TRAIT_PACIFISM, ROUNDSTART_TRAIT)
|
||||
//SKYRAT EDIT END
|
||||
if(roles_to_ban[1] == "Server" && AH)
|
||||
AH.Resolve()
|
||||
for(var/client/i in GLOB.clients - C)
|
||||
|
||||
Reference in New Issue
Block a user