diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index dd11b0a7..0b39fe5d 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -1167,3 +1167,32 @@ proc/move_alien_ship() else alien_ship_location = 1 return + +/client/proc/cmd_admin_wind(mob/M as mob in mob_list) + set category = null + set name = "Wind Player" + /*if(!holder) + src << "Only moderators or higher may use this command." + return */ // I think this is unnecessary. - Dalekfodder + + + if(alert("Wind [M]?",,"Yes","No")!="Yes") + return + + M.SetWeakened(200) + + log_admin("[key_name(usr)] winded [key_name(M)]!") + message_admins("[key_name_admin(usr)] winded [key_name_admin(M)]!", 1) + // feedback_add_details("admin_verb","WIND") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! + // Chop chop. + return + +/client/proc/cmd_admin_unwind(mob/M as mob in mob_list) + set category = null + set name = "Unwind Player" + + M.SetWeakened(0) + + log_admin("[key_name(usr)] unwinded [key_name(M)]!") + message_admins("[key_name_admin(usr)] unwinded [key_name_admin(M)]!", 1) + return \ No newline at end of file diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index 8992a7bb..c817a9bb 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -10,6 +10,8 @@ var/list/admin_verbs_default = list( // /client/proc/deadchat /*toggles deadchat on/off*/ ) var/list/admin_verbs_admin = list( + /client/proc/cmd_admin_wind, + /client/proc/cmd_admin_unwind, /client/proc/player_panel, /*shows an interface for all players, with links to various panels (old style)*/ /client/proc/player_panel_new, /*shows an interface for all players, with links to various panels*/ /client/proc/invisimin, /*allows our mob to go invisible/visible*/