Summary (a quick, 2-3 sentence summary): This is a general verb for mod staff or higher to be able to, 'wind', someone. This affects both marines and aliens, given that a check is made and a proc is run to modify the weakness variable. Highly useful if someone is in the process of doing something very damaging.
Benefits (How this will benefit the server and game as a whole): Completely makes any mob helpless, assists moderators/admins in dealing with rulebreakers or fucklechucks.
Details (Description of how you think this would work, the benefits, etc):
Code: Select all
/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)
message_mods("[key_name_admin(usr)] winded [key_name_admin(M)]!")
// 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)
message_mods("[key_name_admin(usr)] unwinded [key_name_admin(M)]!", 1)
return
Implementation (Optional, if you have an idea how to implement it): See above. The lines of code already explain how it works.