mirror of
https://github.com/Aurorastation/Aurora-Old.git
synced 2026-08-25 05:36:19 +01:00
Get down on your knees, Griefers!
Sets weakens of griefers to 200, so they lie down. When you're done, unwind button resets weaken. So they can wake up.
This commit is contained in:
@@ -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
|
||||
@@ -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*/
|
||||
|
||||
Reference in New Issue
Block a user