diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index bfabbc85b39..cfe5d5dc973 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -141,6 +141,7 @@ verbs += /client/proc/enable_mapping_debug verbs += /client/proc/everyone_random verbs += /client/proc/only_one // Fateweaver suggested I do this - Doohl + verbs += /client/proc/deadmin_self if (holder.level >= 5)//Game Admin******************************************************************** verbs += /obj/admins/proc/view_txt_log @@ -174,6 +175,7 @@ verbs += /client/proc/toggle_gravity_on verbs += /client/proc/toggle_gravity_off verbs += /client/proc/toggle_random_events + verbs += /client/proc/deadmin_self if (holder.level >= 4)//Badmin******************************************************************** verbs += /obj/admins/proc/adrev //toggle admin revives @@ -202,6 +204,7 @@ verbs += /client/proc/hide_most_verbs verbs += /client/proc/tension_report verbs += /client/proc/jumptocoord + verbs += /client/proc/deadmin_self if (holder.level >= 3)//Trial Admin******************************************************************** verbs += /obj/admins/proc/toggleaban //abandon mob @@ -215,6 +218,7 @@ verbs += /proc/possess verbs += /proc/release verbs += /client/proc/toggleprayers + verbs += /client/proc/deadmin_self if (holder.level >= 2)//Admin Candidate******************************************************************** @@ -222,6 +226,7 @@ verbs += /client/proc/secrets verbs += /client/proc/play_sound verbs += /client/proc/stealth + verbs += /client/proc/deadmin_self if (holder.level >= 1)//Temp Admin******************************************************************** @@ -233,6 +238,7 @@ verbs += /client/proc/cmd_admin_create_centcom_report verbs += /client/proc/toggle_hear_deadcast verbs += /client/proc/toggle_hear_radio + verbs += /client/proc/deadmin_self if (holder.level >= 0)//Mod******************************************************************** @@ -267,11 +273,13 @@ verbs += /client/proc/hide_verbs verbs += /client/proc/general_report verbs += /client/proc/air_report + verbs += /client/proc/deadmin_self if (holder.level >= -1)//Admin Observer verbs += /client/proc/cmd_admin_say verbs += /client/proc/cmd_admin_gib_self + verbs += /client/proc/deadmin_self /client/proc/clear_admin_verbs() @@ -405,6 +413,10 @@ verbs -= /client/proc/toggle_gravity_on verbs -= /client/proc/toggle_gravity_off verbs -= /client/proc/toggle_random_events + verbs -= /client/proc/deadmin_self + verbs -= /client/proc/jumptocoord + verbs -= /client/proc/everyone_random + verbs -= /client/proc/cmd_switch_radio return @@ -662,7 +674,7 @@ if(!holder) return STFU_ghosts = !STFU_ghosts - usr << "You will now [STFU_ghosts ? "hear" : "not hear"] ghosts" + usr << "You will now [STFU_ghosts ? "not hear" : "hear"] ghosts" /client/proc/toggle_hear_radio() set name = "Toggle Hear Radio" @@ -670,7 +682,21 @@ if(!holder) return STFU_radio = !STFU_radio - usr << "You will now [STFU_radio ? "hear" : "not hear"] radio chatter from nearby radios or speakers" + usr << "You will now [STFU_radio ? "not hear" : "hear"] radio chatter from nearby radios or speakers" + +/client/proc/deadmin_self() + set name = "De-admin self" + set category = "Admin" + + if(src.holder) + if(alert("Confirm self-deadmin for the round? You can't re-admin yourself without someont promoting you.",,"Yes","No") == "Yes") + del(holder) + log_admin("[src] deadmined themself.") + message_admins("[src] deadmined themself.", 1) + src.clear_admin_verbs() + src.update_admins(null) + admins.Remove(src.ckey) + usr << "You are now a normal player." /client/proc/hide_most_verbs()//Allows you to keep some functionality while hiding some verbs set name = "Toggle most admin verb visibility"